Cleanup: remove unused compute-id from preferences
authorCampbell Barton <ideasman42@gmail.com>
Wed, 31 Jul 2019 23:08:43 +0000 (09:08 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 31 Jul 2019 23:08:43 +0000 (09:08 +1000)
release/datafiles/userdef/userdef_default.c
source/blender/makesdna/DNA_userdef_types.h

index acdccb79b0706a6de788c99086df09c443695910..e539953092b11f3f2a432919fc4bad99b457ffeb 100644 (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,
index 894dbc05c54a82773f3f373106802957576a07f8..2d3d091c65da1d2c1263ae7fc6386ca0c683d851 100644 (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;