Fixed Constraint projection code in perspective mode. When using a planar constraints...
[blender.git] / source / blender / src / transform.c
index 28b4be809d4b429748796b767d28c2de4898feba..b9206587eb2a277b5e13965b52305db4159adf7f 100755 (executable)
@@ -1285,17 +1285,20 @@ void Transform(int mode)
                                        else if (G.qual == LR_CTRLKEY)
                                                setConstraint(&Trans, mati, (APPLYCON|CONAXIS1|CONAXIS2));
                                        break;
+                                       Trans.redraw = 1;
                                case YKEY:
                                        if (G.qual == 0)
                                                setConstraint(&Trans, mati, (APPLYCON|CONAXIS1));
                                        else if (G.qual == LR_CTRLKEY)
                                                setConstraint(&Trans, mati, (APPLYCON|CONAXIS0|CONAXIS2));
                                        break;
+                                       Trans.redraw = 1;
                                case ZKEY:
                                        if (G.qual == 0)
                                                setConstraint(&Trans, mati, (APPLYCON|CONAXIS2));
                                        else if (G.qual == LR_CTRLKEY)
                                                setConstraint(&Trans, mati, (APPLYCON|CONAXIS0|CONAXIS1));
+                                       Trans.redraw = 1;
                                        break;
                                case OKEY:
                                        if (G.qual==LR_SHIFTKEY) {