From 06b6c004f5fb2cae3c98c93970a64d7231992210 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Wed, 3 Aug 2022 09:18:13 -0500 Subject: Fix T100168: Sculpt positions undo not working after recent commit efe0e2b18370 used the "normals_update" for applying positions from an undo step, which doesn't set the necessary flags for a redraw. --- source/blender/editors/sculpt_paint/sculpt_undo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/sculpt_paint/sculpt_undo.c') diff --git a/source/blender/editors/sculpt_paint/sculpt_undo.c b/source/blender/editors/sculpt_paint/sculpt_undo.c index 7110a5aae66..d37d0d2681f 100644 --- a/source/blender/editors/sculpt_paint/sculpt_undo.c +++ b/source/blender/editors/sculpt_paint/sculpt_undo.c @@ -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; -- cgit v1.2.3