You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-20 14:45:44 +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) {
|
void GDExtensionEditorPlugins::add_extension_class(const StringName &p_class_name) {
|
||||||
if (editor_node_add_plugin) {
|
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 {
|
} else {
|
||||||
extension_classes.push_back(p_class_name);
|
extension_classes.push_back(p_class_name);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user