mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-20 07:03:46 +00:00
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
This commit is contained in:
parent
870ee9fb5b
commit
6ebb05749e
1 changed files with 0 additions and 1 deletions
|
|
@ -455,7 +455,6 @@ class SimObject: public ConsoleObject, public TamlCallbacks
|
|||
{
|
||||
T* object = new T;
|
||||
object->incRefCount();
|
||||
object->registerObject();
|
||||
return object;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue