Skip to content

Commit

Permalink
Merge pull request #56043 from Zylann/mesh_old_conversion_message
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga authored Dec 21, 2021
2 parents d3d6208 + 830b54a commit 489f11e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scene/resources/mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 489f11e

Please sign in to comment.