Fix T47604: Sculpt + Modifier undo gives invalid normals
This commit is contained in:
parent
28e4f8eb5c
commit
91457def83
|
@ -546,8 +546,7 @@ static void sculpt_undo_restore(bContext *C, ListBase *lb)
|
|||
|
||||
if (ss->kb || ss->modifiers_active) {
|
||||
Mesh *mesh = ob->data;
|
||||
BKE_mesh_calc_normals_tessface(mesh->mvert, mesh->totvert,
|
||||
mesh->mface, mesh->totface, NULL);
|
||||
BKE_mesh_calc_normals(mesh);
|
||||
|
||||
BKE_sculptsession_free_deformMats(ss);
|
||||
tag_update |= true;
|
||||
|
|
Loading…
Reference in New Issue