diff options
author | Joseph Eagar <joeedh@gmail.com> | 2022-10-11 20:11:16 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2022-10-11 20:11:16 +0300 |
commit | 48fd4a01efd3a1d649a50b45184c91593219fb55 (patch) | |
tree | c8761121fae54309603e5e66008b9343a30eed24 /source/blender/editors/sculpt_paint/sculpt_ops.c | |
parent | 7119582b6686542f75858d48266a2a5a8664f8c0 (diff) |
Sculpt: Fix mask from cavity not redrawing viewport with modifiers
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_ops.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_ops.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_ops.c b/source/blender/editors/sculpt_paint/sculpt_ops.c index 1a9a565a434..56a35ee1774 100644 --- a/source/blender/editors/sculpt_paint/sculpt_ops.c +++ b/source/blender/editors/sculpt_paint/sculpt_ops.c @@ -1116,10 +1116,7 @@ static int sculpt_bake_cavity_exec(bContext *C, wmOperator *op) SCULPT_undo_push_end(ob); SCULPT_flush_update_done(C, ob, SCULPT_UPDATE_MASK); - - /* Unlike other operators we do not tag the ID for update here; - * it triggers a PBVH rebuild which is too slow and ruins - * the interactivity of the tool. */ + SCULPT_tag_update_overlays(C); return OPERATOR_FINISHED; } |