diff options
author | Marc Gilleron <marc.gilleron@gmail.com> | 2021-12-18 03:43:57 +0000 |
---|---|---|
committer | Marc Gilleron <marc.gilleron@gmail.com> | 2021-12-21 14:39:40 +0100 |
commit | 830b54a03b480f29e60b4ebc813c1e24ac140a70 (patch) | |
tree | 7efb65c5874b6bbb84682966656f39de6c0255e4 /scene/resources | |
parent | 58712e96aea12bda2d5111d96961f529d15a693c (diff) |
Added resource path to message about old mesh format conversion
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); |