diff options
| author | reduz | 2014-06-30 02:31:42 -0300 |
|---|---|---|
| committer | reduz | 2014-06-30 02:31:42 -0300 |
| commit | 77a15e2a3e1231bf9ba011af9ee10afe5fae17dd (patch) | |
| tree | fcda5def401ca3d0bf27f3fff302b0d06edc77d7 | |
| parent | ff5a815523b3bb69674f7d678e9d03278ed5ec30 (diff) | |
| parent | 002db0b1252b56c9ff8ec5da466e0bf21ec81c7d (diff) | |
| download | godot-77a15e2a3e1231bf9ba011af9ee10afe5fae17dd.tar.gz godot-77a15e2a3e1231bf9ba011af9ee10afe5fae17dd.tar.zst godot-77a15e2a3e1231bf9ba011af9ee10afe5fae17dd.zip | |
| -rw-r--r-- | tools/editor/editor_node.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index 9132abcb6..9c116448d 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -2263,6 +2263,8 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) { if (!E->get()->can_reload_from_file()) continue; + if (!FileAccess::exists(E->get()->get_path())) + continue; uint64_t mt = FileAccess::get_modified_time(E->get()->get_path()); if (mt!=E->get()->get_last_modified_time()) { E->get()->reload_from_file(); |
