forked from bartvdbraak/blender
Fix an undefined variable bug detected by valgrind.
This commit is contained in:
parent
4bc6749403
commit
362202cc14
@ -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::
|
||||||
|
Loading…
Reference in New Issue
Block a user