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:
authorGreg Neumiller <rlneumiller>2021-01-25 23:08:37 +0300
committerPablo Dobarro <pablodp606@gmail.com>2021-01-25 23:09:58 +0300
commitc134d7437d38160036e4ad3fc7b00986a98b0a4d (patch)
tree0414b23cefc764e519eb95c23f134959bdf2b0d0 /source/blender/editors/sculpt_paint/sculpt.c
parentaa030d34599387aa560da7db38b0e119c06f1530 (diff)
Fix T84031 initialize connectivity info of the base mesh before using Displacement Smear brush.
Reviewed By: pablodp606 Maniphest Tasks: T84031 Differential Revision: https://developer.blender.org/D9956
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt.c')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 5070dba14ea..4d6330e03f8 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -7237,7 +7237,8 @@ static bool sculpt_needs_connectivity_info(const Sculpt *sd,
(brush->sculpt_tool == SCULPT_TOOL_BOUNDARY) ||
(brush->sculpt_tool == SCULPT_TOOL_SLIDE_RELAX) ||
(brush->sculpt_tool == SCULPT_TOOL_CLOTH) || (brush->sculpt_tool == SCULPT_TOOL_SMEAR) ||
- (brush->sculpt_tool == SCULPT_TOOL_DRAW_FACE_SETS));
+ (brush->sculpt_tool == SCULPT_TOOL_DRAW_FACE_SETS) ||
+ (brush->sculpt_tool == SCULPT_TOOL_DISPLACEMENT_SMEAR));
}
void SCULPT_stroke_modifiers_check(const bContext *C, Object *ob, const Brush *brush)