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:
authorCampbell Barton <campbell@blender.org>2022-10-24 12:32:03 +0300
committerCampbell Barton <campbell@blender.org>2022-10-24 12:32:03 +0300
commit216e8d887b6c80db4665e58ff91434659c21c5ae (patch)
tree475c41cdcf2324a0cfd143ce39c89cc73dcbcad2
parent0ee9282b5c51066dfcf5a6c7a5ebcd3dd5290673 (diff)
Cleanup: quiet parentheses warning
-rw-r--r--source/blender/editors/transform/transform_mode_curveshrinkfatten.c4
1 files 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.