diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-08-01 02:08:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-08-01 02:08:43 +0300 |
commit | 1ec1797d35c28bb27e6bbadd0aec37641d7a2475 (patch) | |
tree | dabb3e94e33729452705681d7fd982910f7aa732 | |
parent | 059d61ae9daa0500123cb70ff1e5732cb878f3dd (diff) |
Cleanup: remove unused compute-id from preferences
-rw-r--r-- | release/datafiles/userdef/userdef_default.c | 1 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/release/datafiles/userdef/userdef_default.c b/release/datafiles/userdef/userdef_default.c index acdccb79b07..e539953092b 100644 --- a/release/datafiles/userdef/userdef_default.c +++ b/release/datafiles/userdef/userdef_default.c @@ -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, diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index 894dbc05c54..2d3d091c65d 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -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; |