Image Stamping patch by Diego (and peach request)- stamps image info into metadata...
[blender.git] / source / blender / src / transform_constraints.c
index 0147435965d44c1e1aa228ac3e35206326ae2cac..ad48d3cc91918409f713e11c20dfd073759ab9e0 100644 (file)
@@ -850,7 +850,7 @@ static void setNearestAxis2d(TransInfo *t)
        ival[1]= t->imval[1];
        
        /* no correction needed... just use whichever one is lower */
-       if ( abs(mval[0]-ival[0]) > abs(mval[1]-ival[1]) ) {
+       if ( abs(mval[0]-ival[0]) < abs(mval[1]-ival[1]) ) {
                t->con.mode |= CON_AXIS1;
                sprintf(t->con.text, " along Y axis");
        }