You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #82986 from OmarShehata/fix-external-editor-hot-reload
Fix external editor hot reload for GDScript
This commit is contained in:
@@ -997,7 +997,7 @@ void ScriptEditor::_res_saved_callback(const Ref<Resource> &p_res) {
|
||||
}
|
||||
|
||||
_update_script_names();
|
||||
_trigger_live_script_reload();
|
||||
trigger_live_script_reload();
|
||||
}
|
||||
|
||||
void ScriptEditor::_scene_saved_callback(const String &p_path) {
|
||||
@@ -1025,7 +1025,7 @@ void ScriptEditor::_scene_saved_callback(const String &p_path) {
|
||||
}
|
||||
}
|
||||
|
||||
void ScriptEditor::_trigger_live_script_reload() {
|
||||
void ScriptEditor::trigger_live_script_reload() {
|
||||
if (!pending_auto_reload && auto_reload_running_scripts) {
|
||||
call_deferred(SNAME("_live_auto_reload_running_scripts"));
|
||||
pending_auto_reload = true;
|
||||
|
||||
Reference in New Issue
Block a user