]> git.mxchange.org Git - simgear.git/commitdiff
Ove Kåven: Fix property refcounting for particles
authorThorstenB <brehmt@gmail.com>
Mon, 1 Aug 2011 17:47:19 +0000 (19:47 +0200)
committerThorstenB <brehmt@gmail.com>
Mon, 1 Aug 2011 17:47:19 +0000 (19:47 +0200)
simgear/scene/model/particles.hxx

index 78c10821407b9577a2b23940e06131afd7f5b404..a637f20bcf758e54b3c1de24d2b289ffbe480e1f 100644 (file)
@@ -99,7 +99,7 @@ public:
 private:
     static osg::Vec3 gravity;
     static osg::Vec3 wind;
-    const SGPropertyNode* modelRoot;
+    SGConstPropertyNode_ptr modelRoot;
     static SGConstPropertyNode_ptr enabledNode;
     static bool enabled;
 };