diff options
author | Hans Goudey <h.goudey@me.com> | 2022-09-14 19:31:52 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-09-14 19:33:35 +0300 |
commit | 818c9e524d82d3eff40504e7d0e5293961983155 (patch) | |
tree | 2ff298299f67a97aef8e6668c60c884aaed677ab /source/blender/blenkernel | |
parent | 460fe4a10cccf697c742431de89ee2e577e11902 (diff) |
Fix: Mesh SoA format conversion skips versioning
Converting to the SoA format (T95965) immediately when reading meshes
means that none of the changes from versioning would be applied first.
This means important fixes like f14995aba70a aren't properly applied,
so modifications could be done to invalid CustomData. To fix this, move
the SoA changes into versioning code, in a new versioning_400.cc file.
Differential Revision: https://developer.blender.org/D15919
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/mesh.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/mesh.cc b/source/blender/blenkernel/intern/mesh.cc index 6bf25da5ae7..7da9acc3cf6 100644 --- a/source/blender/blenkernel/intern/mesh.cc +++ b/source/blender/blenkernel/intern/mesh.cc @@ -346,12 +346,6 @@ static void mesh_blend_read_data(BlendDataReader *reader, ID *id) } } - if (!BLO_read_data_is_undo(reader)) { - BKE_mesh_legacy_convert_flags_to_hide_layers(mesh); - BKE_mesh_legacy_convert_mpoly_to_material_indices(mesh); - BKE_mesh_legacy_bevel_weight_to_layers(mesh); - } - /* We don't expect to load normals from files, since they are derived data. */ BKE_mesh_normals_tag_dirty(mesh); BKE_mesh_assert_normals_dirty_or_calculated(mesh); |