Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/src/transform.c')
-rwxr-xr-xsource/blender/src/transform.c20
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;
+ }
+ }
}
}