aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/editor_file_system.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2014-03-13 22:57:24 -0300
committerJuan Linietsky2014-03-13 22:57:24 -0300
commit31ce3c5fd0300aac1e86bced1efc5f9ec94bdb6b (patch)
treeb6d3a290333c72940b49ed4c930ff6858a59515e /tools/editor/editor_file_system.cpp
parenta65edb4caabec21654c56552e11aacf0fd9291de (diff)
downloadgodot-31ce3c5fd0300aac1e86bced1efc5f9ec94bdb6b.tar.gz
godot-31ce3c5fd0300aac1e86bced1efc5f9ec94bdb6b.tar.zst
godot-31ce3c5fd0300aac1e86bced1efc5f9ec94bdb6b.zip
-fix bug in cache for atlas import/export
-fix some menus -fixed bug in out transition curves -detect and remove file:/// in collada -remove multiscript for now -remove dependencies on mouse in OS, moved to Input -avoid fscache from screwing up (fix might make it slower, but it works) -funcref was missing, it's there now
Diffstat (limited to 'tools/editor/editor_file_system.cpp')
-rw-r--r--tools/editor/editor_file_system.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/editor/editor_file_system.cpp b/tools/editor/editor_file_system.cpp
index 52b195b23..861b6a9e3 100644
--- a/tools/editor/editor_file_system.cpp
+++ b/tools/editor/editor_file_system.cpp
@@ -227,7 +227,7 @@ EditorFileSystem::DirItem* EditorFileSystem::_scan_dir(DirAccess *da,Set<String>
DirCache *dc = dir_cache.getptr(path);
- if (dc && dc->modification_time==mtime) {
+ if (false && dc && dc->modification_time==mtime) {
//use the cached files, since directory did not change
for (Set<String>::Element *E=dc->subdirs.front();E;E=E->next()) {
dirs.push_back(E->get());
@@ -542,6 +542,7 @@ bool EditorFileSystem::_check_meta_sources(EditorFileSystemDirectory::ImportMeta
for(int j=0;j<p_meta.sources.size();j++) {
+
String src = EditorImportPlugin::expand_source_path(p_meta.sources[j].path);
if (!FileAccess::exists(src)) {
@@ -556,6 +557,7 @@ bool EditorFileSystem::_check_meta_sources(EditorFileSystemDirectory::ImportMeta
if (mt!=p_meta.sources[j].modified_time) {
//scan
String md5 = FileAccess::get_md5(src);
+ print_line("checking: "+src);
print_line("md5: "+md5);
print_line("vs: "+p_meta.sources[j].md5);
if (md5!=p_meta.sources[j].md5) {