Fix #115572: shape_key_remove operator leaves shared normals #115580

Merged
Philipp Oeser merged 2 commits from lichtwerk/blender:115572 into main 2023-11-29 18:17:40 +01:00
1 changed files with 3 additions and 0 deletions
Showing only changes of commit 8cc7f0b130 - Show all commits

View File

@ -1605,6 +1605,9 @@ float *BKE_key_evaluate_object_ex(
const int totvert = min_ii(tot, mesh->totvert);
mesh->vert_positions_for_write().take_front(totvert).copy_from(
{reinterpret_cast<const blender::float3 *>(out), totvert});
mesh->runtime->vert_normals_cache.tag_dirty();
mesh->runtime->face_normals_cache.tag_dirty();
mesh->runtime->corner_normals_cache.tag_dirty();
break;
}
case ID_LT: {