diff options
| author | David Snopek <dsnopek@gmail.com> | 2024-01-02 14:10:54 -0600 |
|---|---|---|
| committer | David Snopek <dsnopek@gmail.com> | 2024-02-20 09:20:58 -0600 |
| commit | ea75307a11fc62479062bc923dde6e2655dff47c (patch) | |
| tree | a7063d841878242e6a37599365435b316ec9fe6c /core/extension/gdextension_interface.cpp | |
| parent | dfe226b93346c208787728eceecc2c64d81a9553 (diff) | |
| download | redot-engine-ea75307a11fc62479062bc923dde6e2655dff47c.tar.gz | |
Allow registering "runtime classes"
Diffstat (limited to 'core/extension/gdextension_interface.cpp')
| -rw-r--r-- | core/extension/gdextension_interface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/extension/gdextension_interface.cpp b/core/extension/gdextension_interface.cpp index c6d7779473..0c96c32187 100644 --- a/core/extension/gdextension_interface.cpp +++ b/core/extension/gdextension_interface.cpp @@ -1379,7 +1379,7 @@ static GDExtensionMethodBindPtr gdextension_classdb_get_method_bind(GDExtensionC static GDExtensionObjectPtr gdextension_classdb_construct_object(GDExtensionConstStringNamePtr p_classname) { const StringName classname = *reinterpret_cast<const StringName *>(p_classname); - return (GDExtensionObjectPtr)ClassDB::instantiate(classname); + return (GDExtensionObjectPtr)ClassDB::instantiate_no_placeholders(classname); } static void *gdextension_classdb_get_class_tag(GDExtensionConstStringNamePtr p_classname) { |
