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 <ideasman42@gmail.com>2012-10-24 09:06:40 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-10-24 09:06:40 +0400
commit81eafc49e624b089190ff21bdd9d71c4b4a5c7da (patch)
tree89ea4967e3d87d7a159833c876171a6db4ba20dc /source/blender/editors/transform
parentdb250a48f615ed36b368412deedaa77f59366d61 (diff)
use min_ii/max_ii over MIN2 MAX2
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r--source/blender/editors/transform/transform_constraints.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c
index 0aa46a36afe..311cb5ee94d 100644
--- a/source/blender/editors/transform/transform_constraints.c
+++ b/source/blender/editors/transform/transform_constraints.c
@@ -782,7 +782,7 @@ void startConstraint(TransInfo *t)
{
t->con.mode |= CON_APPLY;
*t->con.text = ' ';
- t->num.idx_max = MIN2(getConstraintSpaceDimension(t) - 1, t->idx_max);
+ t->num.idx_max = min_ii(getConstraintSpaceDimension(t) - 1, t->idx_max);
}
void stopConstraint(TransInfo *t)