diff options
author | Ton Roosendaal <ton@blender.org> | 2005-05-29 15:20:49 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-05-29 15:20:49 +0400 |
commit | 90d7da7b27ee4032796d0552a55f1a316b1fcb67 (patch) | |
tree | 0c2e7314652f44d62dea65f8fd7bb70fdac6c123 /source/blender/src/transform_constraints.c | |
parent | 66d5a4dd63a88dc23cfc9ae4056bd5d14a2d4bac (diff) |
Tinsy cleanup of combo drawing Manipulators:
- translate+scale : arrow at end of axis
- translate+rotate: draws axis lines now
- while translate: draws the axis line too
And: GCC was nagging about Martin's precious code!
transform_constraints.c:745: warning: suggest parentheses around comparison
in operand of &
Apparently the if(a & b == c) is undefined? Whatever!
Diffstat (limited to 'source/blender/src/transform_constraints.c')
-rwxr-xr-x | source/blender/src/transform_constraints.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/transform_constraints.c b/source/blender/src/transform_constraints.c index f231813efd8..9f45410ab7b 100755 --- a/source/blender/src/transform_constraints.c +++ b/source/blender/src/transform_constraints.c @@ -742,13 +742,13 @@ void BIF_drawPropCircle() int isLockConstraint(TransInfo *t) { int mode = t->con.mode; - if (mode & (CON_AXIS0|CON_AXIS1) == (CON_AXIS0|CON_AXIS1)) + if ( (mode & (CON_AXIS0|CON_AXIS1)) == (CON_AXIS0|CON_AXIS1)) return 1; - if (mode & (CON_AXIS1|CON_AXIS2) == (CON_AXIS1|CON_AXIS2)) + if ( (mode & (CON_AXIS1|CON_AXIS2)) == (CON_AXIS1|CON_AXIS2)) return 1; - if (mode & (CON_AXIS0|CON_AXIS2) == (CON_AXIS0|CON_AXIS2)) + if ( (mode & (CON_AXIS0|CON_AXIS2)) == (CON_AXIS0|CON_AXIS2)) return 1; return 0; |