2.5
[blender-staging.git] / source / blender / editors / transform / transform_input.c
index ae8aacb3477cf731b69dc5bd49396e1aa272d733..6bd0a8c8d42f24f62287eb5304132dd18f48c3c3 100644 (file)
@@ -317,7 +317,7 @@ int handleMouseInput(TransInfo *t, MouseInput *mi, wmEvent *event)
        {
        case LEFTSHIFTKEY:
        case RIGHTSHIFTKEY:
-               if (event->val)
+               if (event->val==KM_PRESS)
                {
                        t->modifiers |= MOD_PRECISION;
                        /* shift is modifier for higher precision transform