Cleanup: quiet parentheses warning
This commit is contained in:
parent
0ee9282b5c
commit
216e8d887b
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue