Added path to output of missing import texture metadata

(cherry picked from commit 57d9e3bb0e)
This commit is contained in:
Spencer Chang 2023-08-01 01:28:36 -07:00 committed by Yuri Sizov
parent 1238554f05
commit c339abe1aa
1 changed files with 1 additions and 1 deletions

View File

@ -417,7 +417,7 @@ void ResourceImporterTexture::_save_editor_meta(const Dictionary &p_metadata, co
Dictionary ResourceImporterTexture::_load_editor_meta(const String &p_path) const {
Ref<FileAccess> f = FileAccess::open(p_path, FileAccess::READ);
ERR_FAIL_COND_V_MSG(f.is_null(), Dictionary(), "Missing required editor-specific import metadata for a texture; please, reimport.");
ERR_FAIL_COND_V_MSG(f.is_null(), Dictionary(), vformat("Missing required editor-specific import metadata for a texture (please reimport it using the 'Import' tab): '%s'", p_path));
return f->get_var();
}