Change gdnative interface so that Godot object initialization should be triggered from the extension side
This commit is contained in:
parent
2d118bd8b8
commit
4fc0fb826a
8 changed files with 49 additions and 57 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue