diff options
author | Jacques Lucke <jacques@blender.org> | 2022-02-16 17:59:06 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-02-16 17:59:06 +0300 |
commit | 5b3a415a59cef7183a2539fcc12de8fd1ebf8814 (patch) | |
tree | 56acdcad10f11dfc51aff41ce0b2caa416c4b7bc | |
parent | 03ff58b67d50a714c5609e584a6942996cfdee1b (diff) | |
parent | 257ba175fa7e324792ce5f32d5369bcd685b8f55 (diff) |
Merge branch 'blender-v3.1-release'
-rw-r--r-- | source/blender/blenkernel/intern/mesh_convert.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/mesh_convert.cc b/source/blender/blenkernel/intern/mesh_convert.cc index 86e5f2b3cfe..121bfbff394 100644 --- a/source/blender/blenkernel/intern/mesh_convert.cc +++ b/source/blender/blenkernel/intern/mesh_convert.cc @@ -1222,6 +1222,9 @@ Mesh *BKE_mesh_new_from_object_to_bmain(Main *bmain, BKE_mesh_nomain_to_mesh(mesh, mesh_in_bmain, nullptr, &CD_MASK_MESH, true); + /* Anonymous attributes shouldn't exist on original data. */ + BKE_mesh_anonymous_attributes_remove(mesh_in_bmain); + /* User-count is required because so far mesh was in a limbo, where library management does * not perform any user management (i.e. copy of a mesh will not increase users of materials). */ BKE_library_foreach_ID_link( |