Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-08-01 02:08:43 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-08-01 02:08:43 +0300
commit1ec1797d35c28bb27e6bbadd0aec37641d7a2475 (patch)
treedabb3e94e33729452705681d7fd982910f7aa732
parent059d61ae9daa0500123cb70ff1e5732cb878f3dd (diff)
Cleanup: remove unused compute-id from preferences
-rw-r--r--release/datafiles/userdef/userdef_default.c1
-rw-r--r--source/blender/makesdna/DNA_userdef_types.h3
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;