diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-11-08 04:13:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-11-08 04:13:23 +0300 |
commit | e9d7fddeb442ec266fa2cb1eaf406ccfbe970ef2 (patch) | |
tree | b1d46090117dc016051186d2d97ec41b996417c8 /source/blender/editors/sculpt_paint | |
parent | 5c2670ca394b5270b29a1e3669bb05f410c4e997 (diff) |
Fix dyntopo sculpt not setting vertex indices dirty
This is an old bug exposed by new cursor drawing
which uses vertex indices.
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 06fa03ccbc6..43f1bbb33f3 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -5211,7 +5211,7 @@ static void sculpt_topology_update(Sculpt *sd, if (BKE_pbvh_type(ss->pbvh) == PBVH_BMESH) { BKE_pbvh_node_mark_topology_update(nodes[n]); - BKE_pbvh_bmesh_node_save_orig(nodes[n]); + BKE_pbvh_bmesh_node_save_orig(ss->bm, nodes[n]); } } |