Browse Source

Fixed unlinknamespace bug that was causing this assert to fire - https://github.com/GarageGames/Torque2D/pull/126#issuecomment-27281918

Tim Newell 12 years ago
parent
commit
134c9691a4
1 changed files with 0 additions and 3 deletions
  1. 0 3
      engine/source/sim/simObject.cc

+ 0 - 3
engine/source/sim/simObject.cc

@@ -880,9 +880,6 @@ bool SimObject::onAdd()
 {
    mFlags.set(Added);
 
-   if(getClassRep())
-      mNameSpace = getClassRep()->getNameSpace();
-
    linkNamespaces();
 
    // onAdd() should return FALSE if there was an error