소스 검색

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 7 년 전
부모
커밋
6ebb05749e
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  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;
       }