diff options
Diffstat (limited to 'source/blender/src/transform.c')
-rwxr-xr-x | source/blender/src/transform.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c index dff4bc38ffe..f82bd9a9fc5 100755 --- a/source/blender/src/transform.c +++ b/source/blender/src/transform.c @@ -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; + } + } } } |