1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Fix editor needs restart after adding GDExtensions

This commit is contained in:
Hilderin
2024-07-05 10:16:36 -04:00
parent fd7239cfab
commit ef6f873938
10 changed files with 196 additions and 65 deletions

View File

@@ -481,6 +481,9 @@ void EditorNode::_gdextensions_reloaded() {
// In case the developer is inspecting an object that will be changed by the reload.
InspectorDock::get_inspector_singleton()->update_tree();
// Reload script editor to revalidate GDScript if classes are added or removed.
ScriptEditor::get_singleton()->reload_scripts(true);
// Regenerate documentation.
EditorHelp::generate_doc();
}