Fix cloth brush not working with anchored stroke
All brushes except for grab need delta for tip orientation in order to work with anchored stroke, not only snake hook, which is the one that needs it always. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8789
This commit is contained in:
@@ -6657,7 +6657,7 @@ static bool sculpt_needs_delta_from_anchored_origin(Brush *brush)
|
||||
static bool sculpt_needs_delta_for_tip_orientation(Brush *brush)
|
||||
{
|
||||
if (brush->sculpt_tool == SCULPT_TOOL_CLOTH) {
|
||||
return brush->cloth_deform_type == BRUSH_CLOTH_DEFORM_SNAKE_HOOK;
|
||||
return brush->cloth_deform_type != BRUSH_CLOTH_DEFORM_GRAB;
|
||||
}
|
||||
return ELEM(brush->sculpt_tool,
|
||||
SCULPT_TOOL_CLAY_STRIPS,
|
||||
|
||||
Reference in New Issue
Block a user