mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 00:51:16 +00:00
Remove duplicate editor settings definitions
This commit is contained in:
parent
92615be68c
commit
2057ea2883
20 changed files with 48 additions and 51 deletions
|
|
@ -520,7 +520,7 @@ void ShaderEditor::_check_for_external_edit() {
|
|||
return;
|
||||
}
|
||||
|
||||
bool use_autoreload = bool(EDITOR_DEF("text_editor/behavior/files/auto_reload_scripts_on_external_change", false));
|
||||
bool use_autoreload = bool(EDITOR_GET("text_editor/behavior/files/auto_reload_scripts_on_external_change"));
|
||||
if (shader->get_last_modified_time() != FileAccess::get_modified_time(shader->get_path())) {
|
||||
if (use_autoreload) {
|
||||
_reload_shader_from_disk();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue