Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-08-03 17:18:13 +0300
committerHans Goudey <h.goudey@me.com>2022-08-03 17:18:13 +0300
commit06b6c004f5fb2cae3c98c93970a64d7231992210 (patch)
tree0fac9db71d1caa26568489d1fc946944ae2a954f /source/blender/editors
parent25517f36bcca5ddb24970c0513d85f88f90aa284 (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')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_undo.c2
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;