Fix T55493: Sculpting on smooth shaded bug.
Undo was not tagging PBVH to update normals too...
This commit is contained in:
parent
38d6e82d1a
commit
476b4c415c
Notes:
blender-bot
2023-02-14 05:44:15 +01:00
Referenced by issue #55617, Wrong object selection with multiple view layers Referenced by issue #55493, Sculpting on smooth shaded bug
|
@ -561,7 +561,7 @@ static void sculpt_undo_restore_list(bContext *C, ListBase *lb)
|
|||
else {
|
||||
BKE_pbvh_search_callback(ss->pbvh, NULL, NULL, update_cb, &rebuild);
|
||||
}
|
||||
BKE_pbvh_update(ss->pbvh, PBVH_UpdateBB | PBVH_UpdateOriginalBB | PBVH_UpdateRedraw, NULL);
|
||||
BKE_pbvh_update(ss->pbvh, PBVH_UpdateBB | PBVH_UpdateOriginalBB | PBVH_UpdateRedraw | PBVH_UpdateNormals, NULL);
|
||||
|
||||
if (BKE_sculpt_multires_active(scene, ob)) {
|
||||
if (rebuild)
|
||||
|
|
Loading…
Reference in New Issue