summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpencer Chang <spencerchang2001@gmail.com>2023-08-01 01:28:36 -0700
committerSpencer Chang <spencerchang2001@gmail.com>2023-08-01 01:28:36 -0700
commit57d9e3bb0ed334cee9b81f7409e5b8c30e7ae9f3 (patch)
treefca0f894fc8dd4e22995e6a10d9b09d8dcabd23f
parentdcd187da9580b41688f4e5110acd767d4deab8de (diff)
downloadredot-engine-57d9e3bb0ed334cee9b81f7409e5b8c30e7ae9f3.tar.gz
Added path to output of missing import texture metadata
-rw-r--r--editor/import/resource_importer_texture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import/resource_importer_texture.cpp b/editor/import/resource_importer_texture.cpp
index 57139a511f..114ba5653a 100644
--- a/editor/import/resource_importer_texture.cpp
+++ b/editor/import/resource_importer_texture.cpp
@@ -418,7 +418,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();
}