diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-12-21 15:23:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-21 15:23:57 +0100 |
commit | 489f11ee0cbbb90f4f629aa7fd846078148aaa8e (patch) | |
tree | 9ccc53367b2ff06272fb2162070a6ce1337eb28a /scene/resources | |
parent | d3d6208ec8ef3007400384c96d31f6e308c71827 (diff) | |
parent | 830b54a03b480f29e60b4ebc813c1e24ac140a70 (diff) |
Merge pull request #56043 from Zylann/mesh_old_conversion_message
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/mesh.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scene/resources/mesh.cpp b/scene/resources/mesh.cpp index bd63d17424..661016d148 100644 --- a/scene/resources/mesh.cpp +++ b/scene/resources/mesh.cpp @@ -898,7 +898,9 @@ bool ArrayMesh::_set(const StringName &p_name, const Variant &p_value) { return false; } - WARN_DEPRECATED_MSG("Mesh uses old surface format, which is deprecated (and loads slower). Consider re-importing or re-saving the scene."); + WARN_DEPRECATED_MSG(vformat( + "Mesh uses old surface format, which is deprecated (and loads slower). Consider re-importing or re-saving the scene. Path: \"%s\"", + get_path())); int idx = sname.get_slicec('/', 1).to_int(); String what = sname.get_slicec('/', 2); |