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/drawipo.c')
-rw-r--r--source/blender/src/drawipo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/drawipo.c b/source/blender/src/drawipo.c
index aa1dba8454b..5d3e18c5cb9 100644
--- a/source/blender/src/drawipo.c
+++ b/source/blender/src/drawipo.c
@@ -1745,7 +1745,7 @@ int view2dzoom(unsigned short event)
* alt-ctrl mousewheel: zoom x only
*/
if (event==WHEELUPMOUSE) {
- if(U.uiflag & WHEELZOOMDIR)
+ if(U.uiflag & USER_WHEELZOOMDIR)
wtemp = -0.0375;
else
wtemp = 0.03;
@@ -1770,7 +1770,7 @@ int view2dzoom(unsigned short event)
}
}
else if (event==WHEELDOWNMOUSE) {
- if(U.uiflag & WHEELZOOMDIR)
+ if(U.uiflag & USER_WHEELZOOMDIR)
wtemp = 0.03;
else
wtemp = -0.0375;