You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #109310 from Yarwin/fix-gdextension-add-editor-plugin-during-initialization-level-editor
Postpone adding new extension plugins to the editor
This commit is contained in:
@@ -1086,7 +1086,7 @@ PackedStringArray GDExtension::get_classes_used() const {
|
||||
|
||||
void GDExtensionEditorPlugins::add_extension_class(const StringName &p_class_name) {
|
||||
if (editor_node_add_plugin) {
|
||||
editor_node_add_plugin(p_class_name);
|
||||
callable_mp_static(editor_node_add_plugin).call_deferred(p_class_name);
|
||||
} else {
|
||||
extension_classes.push_back(p_class_name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user