Cleanup: remove unused compute-id from preferences

This commit is contained in:
Campbell Barton 2019-08-01 09:08:43 +10:00
parent 059d61ae9d
commit 1ec1797d35
2 changed files with 2 additions and 2 deletions

View file

@ -159,7 +159,6 @@ const UserDef U_default = {
.font_path_ui = "",
.font_path_ui_mono = "",
.compute_device_type = 0,
.compute_device_id = 0,
.fcu_inactive_alpha = 0.25,
.pie_tap_timeout = 20,
.pie_initial_timeout = 0,

View file

@ -756,8 +756,9 @@ typedef struct UserDef {
char font_path_ui[1024];
char font_path_ui_mono[1024];
/** Legacy, for backwards compatibility only. */
int compute_device_type;
int compute_device_id;
char _pad6[4];
/** Opacity of inactive F-Curves in F-Curve Editor. */
float fcu_inactive_alpha;