aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeequlim2016-06-15 12:28:05 +0800
committerGeequlim2016-06-15 12:28:05 +0800
commit1a99c5bad82ecd86e3329f71110c7c2c502b5219 (patch)
treeaa40b74aeae1e8d3f8070a447dcc04dde59cef65
parent333de40180d7d8d6890cceaa1bc3d46efa2b5083 (diff)
downloadgodot-1a99c5bad82ecd86e3329f71110c7c2c502b5219.tar.gz
godot-1a99c5bad82ecd86e3329f71110c7c2c502b5219.tar.zst
godot-1a99c5bad82ecd86e3329f71110c7c2c502b5219.zip
Fix endless reimporting for LargeTexture close #5215
Diffstat (limited to '')
-rw-r--r--tools/editor/io_plugins/editor_texture_import_plugin.cpp1
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 31b633397..1fa7a5051 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);
}