Fix T100168: Sculpt positions undo not working after recent commit

efe0e2b183 used the "normals_update" for applying positions from
an undo step, which doesn't set the necessary flags for a redraw.
This commit is contained in:
Hans Goudey 2022-08-03 09:18:13 -05:00
parent 25517f36bc
commit 06b6c004f5
Notes: blender-bot 2023-02-14 03:34:17 +01:00
Referenced by issue #100168, Regression: Sculpt mode undo not working properly
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ static void update_cb_partial(PBVHNode *node, void *userdata)
}
else {
if (BKE_pbvh_node_has_vert_with_normal_update_tag(data->pbvh, node)) {
BKE_pbvh_node_mark_normals_update(node);
BKE_pbvh_node_mark_update(node);
}
int verts_num;
const int *vert_indices;