]> git.mxchange.org Git - simgear.git/commitdiff
Reset: clear some property references.
authorJames Turner <zakalawe@mac.com>
Sun, 15 Dec 2013 20:48:07 +0000 (20:48 +0000)
committerJames Turner <zakalawe@mac.com>
Sun, 15 Dec 2013 20:48:30 +0000 (20:48 +0000)
simgear/scene/tsync/terrasync.cxx

index 1262f13715febbb069e15f3d01ee14731d45ab67..8b0623d86c068a8ab41fa31dcd6cbf068fa0b8f4 100644 (file)
@@ -883,6 +883,10 @@ void SGTerraSync::unbind()
     _tiedProperties.Untie();
     _bound = false;
     _inited = false;
+    
+    _terraRoot.clear();
+    _stalledNode.clear();
+    _cacheHits.clear();
 }
 
 void SGTerraSync::update(double)