]> git.mxchange.org Git - simgear.git/commitdiff
Don't restore old canvasses on reset.
authorThomas Geymayer <tomgey@gmail.com>
Fri, 11 Jul 2014 17:07:53 +0000 (19:07 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Fri, 11 Jul 2014 17:07:53 +0000 (19:07 +0200)
No need for this anymore as PRESERVE now works as expected.
Otherwise old canvasses are restored and do not work anymore
as the placements of the new canvasses do not apply.

simgear/props/PropertyBasedMgr.cxx

index 5b1c1326e51bbcb1725b03055b9257f3f6b80e1f..c133d1522a74b17111c449dcf3db0f6a2aa1cb98 100644 (file)
@@ -96,7 +96,7 @@ namespace simgear
     _name_elements( name_elements ),
     _element_factory( element_factory )
   {
-    _props->setAttribute(SGPropertyNode::PRESERVE, true);
+
   }
 
   //----------------------------------------------------------------------------