From 216e8d887b6c80db4665e58ff91434659c21c5ae Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 24 Oct 2022 20:32:03 +1100 Subject: Cleanup: quiet parentheses warning --- source/blender/editors/transform/transform_mode_curveshrinkfatten.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/editors/transform/transform_mode_curveshrinkfatten.c b/source/blender/editors/transform/transform_mode_curveshrinkfatten.c index d8f04dea161..0b87b45679a 100644 --- a/source/blender/editors/transform/transform_mode_curveshrinkfatten.c +++ b/source/blender/editors/transform/transform_mode_curveshrinkfatten.c @@ -102,8 +102,8 @@ void initCurveShrinkFatten(TransInfo *t) t->flag |= T_NO_CONSTRAINT; float scale_factor = 0.0f; - if ((t->spacetype == SPACE_VIEW3D) && (t->region->regiontype == RGN_TYPE_WINDOW) && - t->data_len_all == 1 || + if (((t->spacetype == SPACE_VIEW3D) && (t->region->regiontype == RGN_TYPE_WINDOW) && + (t->data_len_all == 1)) || (t->data_len_all == 3 && TRANS_DATA_CONTAINER_FIRST_OK(t)->data[0].val == NULL)) { /* For cases where only one point on the curve is being transformed and the radius of that * point is zero, use the factor to multiply the offset of the ratio and allow scaling. -- cgit v1.2.3