Browse Source

Merge pull request #5219 from Geequlim/fix-5215

Fix endless reimporting for LargeTexture close #5215
Rémi Verschelde 9 years ago
parent
commit
5c135bc0b3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tools/editor/io_plugins/editor_texture_import_plugin.cpp

+ 1 - 0
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);
 		}