diff options
| author | Yuri Sizov <yuris@humnom.net> | 2023-08-01 17:26:10 +0200 |
|---|---|---|
| committer | Yuri Sizov <yuris@humnom.net> | 2023-08-01 17:26:10 +0200 |
| commit | 2bd1d8ac28378bbde94d6ac01470d2cac73bd2aa (patch) | |
| tree | 58ad49f3624b34b4f7344dc35247e265b61e5a1a | |
| parent | eda04c565883901ca842aa0a94425d3e6083a692 (diff) | |
| parent | 57d9e3bb0ed334cee9b81f7409e5b8c30e7ae9f3 (diff) | |
| download | redot-engine-2bd1d8ac28378bbde94d6ac01470d2cac73bd2aa.tar.gz | |
Merge pull request #80107 from Spycemyster/reimport-path-message
Add path to missing import texture metadata to error message
| -rw-r--r-- | editor/import/resource_importer_texture.cpp | 2 |
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(); } |
