Implementation of tool to automatically upgrade and re-save meshes
This commit is contained in:
parent
7f884b4e00
commit
318ef8461f
9 changed files with 193 additions and 8 deletions
|
|
@ -1638,7 +1638,7 @@ void ArrayMesh::_set_surfaces(const Array &p_surfaces) {
|
|||
#ifndef DISABLE_DEPRECATED
|
||||
uint64_t surface_version = surface.format & (ARRAY_FLAG_FORMAT_VERSION_MASK << ARRAY_FLAG_FORMAT_VERSION_SHIFT);
|
||||
if (surface_version != ARRAY_FLAG_FORMAT_CURRENT_VERSION) {
|
||||
RS::_fix_surface_compatibility(surface);
|
||||
RS::get_singleton()->fix_surface_compatibility(surface, get_path());
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue