From 1a99c5bad82ecd86e3329f71110c7c2c502b5219 Mon Sep 17 00:00:00 2001 From: Geequlim Date: Wed, 15 Jun 2016 12:28:05 +0800 Subject: Fix endless reimporting for LargeTexture close #5215 --- tools/editor/io_plugins/editor_texture_import_plugin.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/editor/io_plugins') 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 Refset_editor(get_name()); + from->set_source_md5(0,FileAccess::get_md5(src_path)); existing->set_path(p_path); existing->set_import_metadata(from); } -- cgit v1.2.3