diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2016-06-15 13:50:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-15 13:50:42 +0200 |
commit | 5c135bc0b3df8c34f84229ea4c207d9d72f0fbab (patch) | |
tree | dd4953985acea8e72295cb9e3a3179a05357108d | |
parent | 41677df7cfe74df197ebfcea9382b0154823d136 (diff) | |
parent | 1a99c5bad82ecd86e3329f71110c7c2c502b5219 (diff) |
Merge pull request #5219 from Geequlim/fix-5215
Fix endless reimporting for LargeTexture close #5215
-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); } |