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:
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
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue