Merge pull request #56043 from Zylann/mesh_old_conversion_message
This commit is contained in:
commit
489f11ee0c
1 changed files with 3 additions and 1 deletions
|
@ -898,7 +898,9 @@ bool ArrayMesh::_set(const StringName &p_name, const Variant &p_value) {
|
||||||
return false;
|
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();
|
int idx = sname.get_slicec('/', 1).to_int();
|
||||||
String what = sname.get_slicec('/', 2);
|
String what = sname.get_slicec('/', 2);
|
||||||
|
|
Loading…
Reference in a new issue