diff options
author | Hans Goudey <h.goudey@me.com> | 2022-08-03 17:18:13 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-08-03 17:18:13 +0300 |
commit | 06b6c004f5fb2cae3c98c93970a64d7231992210 (patch) | |
tree | 0fac9db71d1caa26568489d1fc946944ae2a954f /source/blender/editors/sculpt_paint | |
parent | 25517f36bcca5ddb24970c0513d85f88f90aa284 (diff) |
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.
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_undo.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |