Explorar o código

Don't automatically register objects, allow for modifications to the intial fields before register. This is necessary in order to set the fields before initialization such as TorqueScript does

Lukas Joergensen %!s(int64=7) %!d(string=hai) anos
pai
achega
6ebb05749e
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      Engine/source/console/simObject.h

+ 0 - 1
Engine/source/console/simObject.h

@@ -455,7 +455,6 @@ class SimObject: public ConsoleObject, public TamlCallbacks
       {
          T* object = new T;
          object->incRefCount();
-         object->registerObject();
          return object;
       }