mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Change gdnative interface so that Godot object initialization should be triggered from the extension side
This commit is contained in:
@@ -1838,8 +1838,6 @@ void Object::_construct_object(bool p_reference) {
|
||||
type_is_reference = p_reference;
|
||||
_instance_id = ObjectDB::add_instance(this);
|
||||
|
||||
ClassDB::instance_get_native_extension_data(&_extension, &_extension_instance, this);
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
_lock_index.init(1);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user