diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-10-14 02:54:46 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-10-20 02:32:02 +0300 |
commit | f780bfafcfa988d1415f5758ceebbe1b4aee9ba7 (patch) | |
tree | e866f7a6d02bf33c905810f2f1f927b28386adb3 /source/blender/editors/sculpt_paint/sculpt_intern.h | |
parent | 48fd10a77dd8e53eb0ef063ce11bf4086fdb9f17 (diff) |
Fix missing Sculpt Overlays updates when using modifiers
Now that sculpt mask and face sets can also be drawn without using the
PBVH, these operators need these extra updates when the data changes.
Reviewed By: sergey
Differential Revision: https://developer.blender.org/D8956
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_intern.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index f03a9631b0c..4216f23bea4 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -66,6 +66,9 @@ void SCULPT_flush_update_step(bContext *C, SculptUpdateType update_flags); void SCULPT_flush_update_done(const bContext *C, Object *ob, SculptUpdateType update_flags); void SCULPT_flush_stroke_deform(struct Sculpt *sd, Object *ob, bool is_proxy_used); +/* Should be used after modifying the mask or Face Sets IDs. */ +void SCULPT_tag_update_overlays(bContext *C); + /* Stroke */ typedef struct SculptCursorGeometryInfo { |