From 7c3491c67921dbb19a94144efaf9fffdb6e14add Mon Sep 17 00:00:00 2001 From: Thomas Geymayer Date: Fri, 11 Jul 2014 19:07:53 +0200 Subject: [PATCH] Don't restore old canvasses on reset. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/props/PropertyBasedMgr.cxx b/simgear/props/PropertyBasedMgr.cxx index 5b1c1326..c133d152 100644 --- a/simgear/props/PropertyBasedMgr.cxx +++ b/simgear/props/PropertyBasedMgr.cxx @@ -96,7 +96,7 @@ namespace simgear _name_elements( name_elements ), _element_factory( element_factory ) { - _props->setAttribute(SGPropertyNode::PRESERVE, true); + } //----------------------------------------------------------------------------