diff options
author | Geequlim <geequlim@gmail.com> | 2016-06-15 12:28:05 +0800 |
---|---|---|
committer | Geequlim <geequlim@gmail.com> | 2016-06-15 12:28:05 +0800 |
commit | 1a99c5bad82ecd86e3329f71110c7c2c502b5219 (patch) | |
tree | aa40b74aeae1e8d3f8070a447dcc04dde59cef65 /tools/editor/io_plugins | |
parent | 333de40180d7d8d6890cceaa1bc3d46efa2b5083 (diff) |
Fix endless reimporting for LargeTexture close #5215
Diffstat (limited to 'tools/editor/io_plugins')
-rw-r--r-- | tools/editor/io_plugins/editor_texture_import_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/io_plugins/editor_texture_import_plugin.cpp b/tools/editor/io_plugins/editor_texture_import_plugin.cpp index 31b6333975..1fa7a50515 100644 --- a/tools/editor/io_plugins/editor_texture_import_plugin.cpp +++ b/tools/editor/io_plugins/editor_texture_import_plugin.cpp @@ -1144,6 +1144,7 @@ Error EditorTextureImportPlugin::import2(const String& p_path, const Ref<Resourc if (!p_external) { from->set_editor(get_name()); + from->set_source_md5(0,FileAccess::get_md5(src_path)); existing->set_path(p_path); existing->set_import_metadata(from); } |