diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2009-05-06 02:32:15 +0400 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2009-05-06 02:32:15 +0400 |
commit | 362202cc14d501484ab62bdd6c638e81bc52981d (patch) | |
tree | 078214eac2eae18f80facba6c188c509074512cd /source/gameengine/SceneGraph/SG_Node.cpp | |
parent | 4bc6749403f0b59c53637b60f936ddc8e0a66d10 (diff) |
Fix an undefined variable bug detected by valgrind.
Diffstat (limited to 'source/gameengine/SceneGraph/SG_Node.cpp')
-rw-r--r-- | source/gameengine/SceneGraph/SG_Node.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/gameengine/SceneGraph/SG_Node.cpp b/source/gameengine/SceneGraph/SG_Node.cpp index c4a1b151846..4cd43e852b8 100644 --- a/source/gameengine/SceneGraph/SG_Node.cpp +++ b/source/gameengine/SceneGraph/SG_Node.cpp @@ -46,6 +46,7 @@ SG_Node::SG_Node( : SG_Spatial(clientobj,clientinfo,callbacks), m_SGparent(NULL) { + m_modified = true; } SG_Node::SG_Node( @@ -55,7 +56,7 @@ SG_Node::SG_Node( m_children(other.m_children), m_SGparent(other.m_SGparent) { - // nothing to do + m_modified = true; } SG_Node::~SG_Node() |