[Bf-blender-cvs] [c134d7437d3] blender-v2.92-release: Fix T84031 initialize connectivity info of the base mesh before using Displacement Smear brush.
Greg Neumiller
noreply at git.blender.org
Mon Jan 25 21:11:11 CET 2021
Commit: c134d7437d38160036e4ad3fc7b00986a98b0a4d
Author: Greg Neumiller
Date: Mon Jan 25 21:08:37 2021 +0100
Branches: blender-v2.92-release
https://developer.blender.org/rBc134d7437d38160036e4ad3fc7b00986a98b0a4d
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
===================================================================
M source/blender/editors/sculpt_paint/sculpt.c
===================================================================
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)
More information about the Bf-blender-cvs
mailing list