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!
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user