projects
/
simgear.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2249be
)
Ove Kåven: Fix property refcounting for particles
author
ThorstenB
<brehmt@gmail.com>
Mon, 1 Aug 2011 17:47:19 +0000
(19:47 +0200)
committer
ThorstenB
<brehmt@gmail.com>
Mon, 1 Aug 2011 17:47:19 +0000
(19:47 +0200)
simgear/scene/model/particles.hxx
patch
|
blob
|
history
diff --git
a/simgear/scene/model/particles.hxx
b/simgear/scene/model/particles.hxx
index 78c10821407b9577a2b23940e06131afd7f5b404..a637f20bcf758e54b3c1de24d2b289ffbe480e1f 100644
(file)
--- 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;
};