aboutsummaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-12-17 15:29:39 +0100
committerRémi Verschelde2017-12-17 15:40:24 +0100
commit8f25a2dc11b73cd440adcd341e4180f6f93877aa (patch)
treef50b60a58cc6b022055e5c8be7280fcfd3e23473 /editor/editor_node.cpp
parentad3393743c2e505f68a12b20113f9c2bda88fa89 (diff)
downloadgodot-8f25a2dc11b73cd440adcd341e4180f6f93877aa.tar.gz
godot-8f25a2dc11b73cd440adcd341e4180f6f93877aa.tar.zst
godot-8f25a2dc11b73cd440adcd341e4180f6f93877aa.zip
Cleanup some #if 0'd code
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index cb8407386..0eb8ea6e4 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -444,15 +444,7 @@ void EditorNode::_fs_changed() {
continue;
if (E->get()->get_import_path() != String()) {
-//this is an imported resource, will be reloaded if reimported via the _resources_reimported() callback
-//imported resource
-#if 0
- uint64_t mt = FileAccess::get_modified_time(E->get()->get_import_path());
-
- if (mt != E->get()->get_import_last_modified_time()) {
- changed.push_back(E->get());
- }
-#endif
+ //this is an imported resource, will be reloaded if reimported via the _resources_reimported() callback
continue;
}