Fix endless reimporting for LargeTexture close #5215

This commit is contained in:
Geequlim 2016-06-15 12:28:05 +08:00
parent 333de40180
commit 1a99c5bad8

View file

@ -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);
}