diff options
author | Joseph Eagar <joeedh@gmail.com> | 2022-04-29 09:19:06 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2022-04-29 09:19:06 +0300 |
commit | 7f0163118bb702afe143fe0aa55210cc10c43512 (patch) | |
tree | b2985997ed7ac8c58c3530bc04d91f8b6b6f495b /source | |
parent | 720e19a83325be62a68a777897fb706a23854cf7 (diff) |
Fix T97608: Sculpt sample color op is missing pmap
Add missing call to BKE_sculpt_update_object_for_edit.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_ops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_ops.c b/source/blender/editors/sculpt_paint/sculpt_ops.c index e02c1b1aac3..2b5a20205bd 100644 --- a/source/blender/editors/sculpt_paint/sculpt_ops.c +++ b/source/blender/editors/sculpt_paint/sculpt_ops.c @@ -769,6 +769,8 @@ static int sculpt_sample_color_invoke(bContext *C, wmOperator *op, const wmEvent return OPERATOR_CANCELLED; } + BKE_sculpt_update_object_for_edit(CTX_data_depsgraph_pointer(C), ob, true, false, false); + /* No color attribute? Set color to white. */ if (!SCULPT_has_colors(ss)) { copy_v4_fl(active_vertex_color, 1.0f); |