Fix Windows Tablet API preference not being used
It was sometimes set before reading preferences, now it's passed to GHOST every time preferences are read. Differential Revision: https://developer.blender.org/D5641
This commit is contained in:
parent
a3c1605581
commit
d478cc71dd
|
@ -1 +1 @@
|
|||
Subproject commit 8e6f485cf5b160c425d7da7c743879b20f3d6a96
|
||||
Subproject commit d348bde0f96809e289b0514c015cafb97f2dcf79
|
|
@ -375,6 +375,9 @@ static void wm_init_userdef(Main *bmain)
|
|||
|
||||
/* update tempdir from user preferences */
|
||||
BKE_tempdir_init(U.tempdir);
|
||||
|
||||
/* Update tablet API preference. */
|
||||
WM_init_tablet_api();
|
||||
}
|
||||
|
||||
/* return codes */
|
||||
|
|
|
@ -1679,8 +1679,6 @@ void wm_ghost_init(bContext *C)
|
|||
}
|
||||
|
||||
GHOST_UseWindowFocus(wm_init_state.window_focus);
|
||||
|
||||
WM_init_tablet_api();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue