You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
add option to automatically reload changed scripts
This commit is contained in:
@@ -630,6 +630,9 @@ bool ScriptEditor::_test_script_times_on_disk() {
|
|||||||
|
|
||||||
|
|
||||||
if (!all_ok)
|
if (!all_ok)
|
||||||
|
if (bool(EDITOR_DEF("text_editor/autoreload_changed_scripts",false)))
|
||||||
|
script_editor->_reload_scripts();
|
||||||
|
else
|
||||||
disk_changed->call_deferred("popup_centered_ratio",0.5);
|
disk_changed->call_deferred("popup_centered_ratio",0.5);
|
||||||
|
|
||||||
return all_ok;
|
return all_ok;
|
||||||
|
|||||||
Reference in New Issue
Block a user