Fix #129067: Transforming an edit-mesh crashes with cage editing

Regression in [0] although prior to this the `deformed_only` was not
being set, caused by a separate regression.

[0]: 80fa49f24ae768c5869065363e116b51175fb2df
This commit is contained in:
Campbell Barton
2024-10-16 16:54:15 +11:00
parent b8e5c66947
commit ccb92947c5

View File

@@ -1323,7 +1323,7 @@ void mesh_get_mapped_verts_coords(Mesh *mesh_eval, MutableSpan<float3> r_cos)
MEM_freeN(user_data.vertex_visit);
}
else {
r_cos.copy_from(mesh_eval->vert_positions());
r_cos.copy_from(BKE_mesh_wrapper_vert_coords(mesh_eval));
}
}