patched default wheellinescroll usersetting
This commit is contained in:
@@ -261,6 +261,7 @@ static void setup_app_data(BlendFileData *bfd, char *filename) {
|
|||||||
if (bfd->user) {
|
if (bfd->user) {
|
||||||
U= *bfd->user;
|
U= *bfd->user;
|
||||||
MEM_freeN(bfd->user);
|
MEM_freeN(bfd->user);
|
||||||
|
if(U.wheellinescroll == 0) U.wheellinescroll = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
R.winpos= bfd->winpos;
|
R.winpos= bfd->winpos;
|
||||||
|
@@ -1399,7 +1399,7 @@ void drawinfospace(void)
|
|||||||
|
|
||||||
uiDefButI(block, NUM, 0, "WLines",
|
uiDefButI(block, NUM, 0, "WLines",
|
||||||
1153,54,70,20, &U.wheellinescroll,
|
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");
|
"Mousewheel: The number of lines that get scrolled");
|
||||||
uiDefButS(block, TOG|BIT|2, 0, "WZoom",
|
uiDefButS(block, TOG|BIT|2, 0, "WZoom",
|
||||||
1081,54,70,20, &(U.uiflag), 0, 0, 0, 0,
|
1081,54,70,20, &(U.uiflag), 0, 0, 0, 0,
|
||||||
|
Reference in New Issue
Block a user