You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Postpone adding new extension plugins to the editor.
---- Extension EditorPlugins added during Hot Reload on Initialization level Editor were being attached to the scene tree before all the GDExtension Classes (such as already loaded resources) are re-initialized.
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