Kaydet (Commit) d70302ef authored tarafından Michael Stahl's avatar Michael Stahl

basic: more plausible build fix than e5a8eb9e

Change-Id: I26fd8a76a17386de73fa12058509ccee7e768512
üst e5a8eb9e
...@@ -408,7 +408,7 @@ void SbxVariable::SetParent( SbxObject* p ) ...@@ -408,7 +408,7 @@ void SbxVariable::SetParent( SbxObject* p )
{ {
#ifdef DBG_UTIL #ifdef DBG_UTIL
// Will the parent of a SbxObject be set? // Will the parent of a SbxObject be set?
if (p) if (p && dynamic_cast<SbxObject*>(this))
{ {
// then this had to be a child of the new parent // then this had to be a child of the new parent
bool bFound = false; bool bFound = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment