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:

committed by
Brecht Van Lommel

parent
a3c1605581
commit
d478cc71dd
Submodule release/scripts/addons updated: 8e6f485cf5...d348bde0f9
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user