- Removed temporal hack that switched manipulator type on G, R, S hotkeys.
[blender.git] / source / blender / src / transform.c
index dff4bc38ffee434679f37499c0af47e53591d839..f82bd9a9fc574a1e49e4b6bc3e82b592b61b31fa 100755 (executable)
@@ -1664,6 +1664,26 @@ void ManipulatorTransform(int mode)
                                ret_val = TRANS_CONFIRM;
                                break;
                        }
+                       if(val) {
+                               switch(event) {
+                               case WHEELDOWNMOUSE:
+                               case PADPLUSKEY:
+                                       if(G.f & G_PROPORTIONAL) {
+                                               Trans.propsize*= 1.1f;
+                                               calculatePropRatio(&Trans);
+                                               Trans.redraw= 1;
+                                       }
+                                       break;
+                               case WHEELUPMOUSE:
+                               case PADMINUS:
+                                       if(G.f & G_PROPORTIONAL) {
+                                               Trans.propsize*= 0.90909090f;
+                                               calculatePropRatio(&Trans);
+                                               Trans.redraw= 1;
+                                       }
+                                       break;
+                               }                       
+                       }
                }
        }