mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
PR for issue #748
This commit is contained in:
parent
27252b0864
commit
8518c85e80
1 changed files with 1 additions and 2 deletions
|
|
@ -1599,8 +1599,7 @@ void SimObject::unlinkNamespaces()
|
||||||
|
|
||||||
// Handle object name.
|
// Handle object name.
|
||||||
|
|
||||||
StringTableEntry objectName = getName();
|
if (mNameSpace && mNameSpace->mClassRep == NULL)
|
||||||
if( objectName && objectName[ 0 ] )
|
|
||||||
mNameSpace->decRefCountToParent();
|
mNameSpace->decRefCountToParent();
|
||||||
|
|
||||||
mNameSpace = NULL;
|
mNameSpace = NULL;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue