mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
parent
905dd50d36
commit
ded87c0165
1 changed files with 2 additions and 1 deletions
|
|
@ -1600,7 +1600,8 @@ void SimObject::unlinkNamespaces()
|
|||
|
||||
// Handle object name.
|
||||
|
||||
if (mNameSpace && mNameSpace->mClassRep == NULL)
|
||||
StringTableEntry objectName = getName();
|
||||
if( objectName && objectName[ 0 ] )
|
||||
mNameSpace->decRefCountToParent();
|
||||
|
||||
mNameSpace = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue