mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
Merge pull request #1218 from eightyeight/revert-1036
Revert "PR for issue #748"
This commit is contained in:
commit
4aeaad91e7
1 changed files with 2 additions and 1 deletions
|
|
@ -1600,7 +1600,8 @@ void SimObject::unlinkNamespaces()
|
||||||
|
|
||||||
// Handle object name.
|
// Handle object name.
|
||||||
|
|
||||||
if (mNameSpace && mNameSpace->mClassRep == NULL)
|
StringTableEntry objectName = getName();
|
||||||
|
if( objectName && objectName[ 0 ] )
|
||||||
mNameSpace->decRefCountToParent();
|
mNameSpace->decRefCountToParent();
|
||||||
|
|
||||||
mNameSpace = NULL;
|
mNameSpace = NULL;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue