* Made the tablet pressure value default to 1.0 when not using
a tablet, rather than 0.0. This might help ease some misbehaviour people have reported, especially in sculpt.
This commit is contained in:
@@ -508,7 +508,7 @@ static void update_tablet_data(Window *win, Window *ghostwin) {
|
|||||||
win->ytilt = td->Ytilt;
|
win->ytilt = td->Ytilt;
|
||||||
} else {
|
} else {
|
||||||
win->activedevice = DEV_MOUSE;
|
win->activedevice = DEV_MOUSE;
|
||||||
win->pressure = 0.0;
|
win->pressure = 1.0;
|
||||||
win->xtilt = win->ytilt = 0.0;
|
win->xtilt = win->ytilt = 0.0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user