diff options
author | Rob Haarsma <phaseIV@zonnet.nl> | 2003-02-10 17:14:35 +0300 |
---|---|---|
committer | Rob Haarsma <phaseIV@zonnet.nl> | 2003-02-10 17:14:35 +0300 |
commit | 0f09f68e53a0c7dde4ba6ada8cb348f58892ff1b (patch) | |
tree | 38312c433c28c19ca49aebf29d3e5be378408c0c /source/blender | |
parent | 19a8c2eae440dab24529402f7ad5ef975df61f84 (diff) |
patched default wheellinescroll usersetting
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/blender.c | 1 | ||||
-rw-r--r-- | source/blender/src/space.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/blender.c b/source/blender/blenkernel/intern/blender.c index 2c200084f62..1fc502161d4 100644 --- a/source/blender/blenkernel/intern/blender.c +++ b/source/blender/blenkernel/intern/blender.c @@ -261,6 +261,7 @@ static void setup_app_data(BlendFileData *bfd, char *filename) { if (bfd->user) { U= *bfd->user; MEM_freeN(bfd->user); + if(U.wheellinescroll == 0) U.wheellinescroll = 3; } R.winpos= bfd->winpos; diff --git a/source/blender/src/space.c b/source/blender/src/space.c index 18d312910c1..01813ef8026 100644 --- a/source/blender/src/space.c +++ b/source/blender/src/space.c @@ -1399,7 +1399,7 @@ void drawinfospace(void) uiDefButI(block, NUM, 0, "WLines", 1153,54,70,20, &U.wheellinescroll, - 0.0, 32.0, 0, 0, + 1.0, 32.0, 0, 0, "Mousewheel: The number of lines that get scrolled"); uiDefButS(block, TOG|BIT|2, 0, "WZoom", 1081,54,70,20, &(U.uiflag), 0, 0, 0, 0, |