]> git.mxchange.org Git - simgear.git/commit
Don't untie a property when loading from xml
authorTorsten Dreyer <Torsten@t3r.de>
Wed, 15 Feb 2012 13:54:02 +0000 (14:54 +0100)
committerTorsten Dreyer <Torsten@t3r.de>
Wed, 15 Feb 2012 13:54:02 +0000 (14:54 +0100)
commit441dc41715123efd643aa5ba3e177128647eda13
tree42c838afb724246244e35f27e956abadfa7adf7a
parent811f156ad1c4a51eedc382959446b72451827abe
Don't untie a property when loading from xml

executing the fgcommand loadxml implicitely untied every previously
tied property if a property type was given in the property element.
That made it impossible to autosave aircraft data for tied properties.
This patch should fix this. It adds an inconsitency, though:
if a property with a given type is read in which has been tied to
before and the property types do not match, the property type in the
xml file will be ignored.
simgear/props/props_io.cxx