cleanup: Fix style issue in sculpt.c
At first sight this code should not build at all but due to the use of macro's that look like functions this seemingly has no issues building. Clang-format alerted me to this strange bit of code by placing the `if` on it's own line for some reason. added the missing brackets, and clang-format is happy again.
This commit is contained in:
parent
7844486e47
commit
79e82dbc05
|
@ -6634,12 +6634,12 @@ static float sculpt_brush_dynamic_size_get(Brush *brush, StrokeCache *cache, flo
|
|||
* generally used to create grab deformations. */
|
||||
static bool sculpt_needs_delta_from_anchored_origin(Brush *brush)
|
||||
{
|
||||
if ELEM (brush->sculpt_tool,
|
||||
if (ELEM(brush->sculpt_tool,
|
||||
SCULPT_TOOL_GRAB,
|
||||
SCULPT_TOOL_POSE,
|
||||
SCULPT_TOOL_BOUNDARY,
|
||||
SCULPT_TOOL_THUMB,
|
||||
SCULPT_TOOL_ELASTIC_DEFORM) {
|
||||
SCULPT_TOOL_ELASTIC_DEFORM)) {
|
||||
return true;
|
||||
}
|
||||
if (brush->sculpt_tool == SCULPT_TOOL_CLOTH &&
|
||||
|
|
Loading…
Reference in New Issue