From: ThorstenB Date: Mon, 1 Aug 2011 17:47:19 +0000 (+0200) Subject: Ove Kåven: Fix property refcounting for particles X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6edfacbf4eabc543d693829d0f4ce26c86aea2c7;p=simgear.git Ove Kåven: Fix property refcounting for particles --- diff --git a/simgear/scene/model/particles.hxx b/simgear/scene/model/particles.hxx index 78c10821..a637f20b 100644 --- a/simgear/scene/model/particles.hxx +++ b/simgear/scene/model/particles.hxx @@ -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; };