Fix an undefined variable bug detected by valgrind.

This commit is contained in:
Benoit Bolsee 2009-05-05 22:32:15 +00:00
parent 4bc6749403
commit 362202cc14
2 changed files with 2 additions and 2 deletions

@ -46,6 +46,7 @@ SG_Node::SG_Node(
: SG_Spatial(clientobj,clientinfo,callbacks), : SG_Spatial(clientobj,clientinfo,callbacks),
m_SGparent(NULL) m_SGparent(NULL)
{ {
m_modified = true;
} }
SG_Node::SG_Node( SG_Node::SG_Node(
@ -55,7 +56,7 @@ SG_Node::SG_Node(
m_children(other.m_children), m_children(other.m_children),
m_SGparent(other.m_SGparent) m_SGparent(other.m_SGparent)
{ {
// nothing to do m_modified = true;
} }
SG_Node::~SG_Node() SG_Node::~SG_Node()

@ -58,7 +58,6 @@ SG_Spatial(
m_radius(1.0), m_radius(1.0),
m_modified(false) m_modified(false)
{ {
SetModified();
} }
SG_Spatial:: SG_Spatial::