diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-01-16 12:15:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-01-16 12:15:53 +0400 |
commit | af93ebcb503293e382f74c2d33554504269d4815 (patch) | |
tree | e4490d7be44e3532e1655f82c7a7aeb11cc5785c /source/blender/editors/transform/transform_constraints.c | |
parent | bb1a7e4d8722fda09a3294eea56a537b6f043dd3 (diff) |
Code Cleanup: style and redundant casts
Diffstat (limited to 'source/blender/editors/transform/transform_constraints.c')
-rw-r--r-- | source/blender/editors/transform/transform_constraints.c | 2 |
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 894145c9e9d..24f51635e07 100644 --- a/source/blender/editors/transform/transform_constraints.c +++ b/source/blender/editors/transform/transform_constraints.c @@ -925,7 +925,7 @@ void postSelectConstraint(TransInfo *t) static void setNearestAxis2d(TransInfo *t) { /* no correction needed... just use whichever one is lower */ - if (abs(t->mval[0] - t->con.imval[0]) < abs(t->mval[1] - t->con.imval[1]) ) { + if (abs(t->mval[0] - t->con.imval[0]) < abs(t->mval[1] - t->con.imval[1])) { t->con.mode |= CON_AXIS1; BLI_strncpy(t->con.text, IFACE_(" along Y axis"), sizeof(t->con.text)); } |