Experimental Features: Sanitize missing (latest) options
There was an oversight when adding new experimental user preferences. I can try to overengineer this later to make it more fail-proof. But for now it should be clear what to update when adding a new variable.
This commit is contained in:
parent
92a0ec87a2
commit
cb363953f0
Notes:
blender-bot
2023-02-14 03:29:37 +01:00
Referenced by issue #81357, Some Experimental Features are still accessible in 2.90.1; Sculpt vertex colors, etc.
|
@ -827,6 +827,8 @@ void BLO_sanitize_experimental_features_userpref_blend(UserDef *userdef)
|
|||
userdef->experimental.use_new_particle_system = false;
|
||||
userdef->experimental.use_new_hair_type = false;
|
||||
userdef->experimental.use_sculpt_vertex_colors = false;
|
||||
userdef->experimental.use_tools_missing_icons = false;
|
||||
userdef->experimental.use_switch_object_operator = false;
|
||||
}
|
||||
|
||||
#undef USER_LMOUSESELECT
|
||||
|
|
|
@ -622,12 +622,15 @@ typedef struct UserDef_FileSpaceData {
|
|||
} UserDef_FileSpaceData;
|
||||
|
||||
typedef struct UserDef_Experimental {
|
||||
/* Debug options, always available. */
|
||||
char use_undo_legacy;
|
||||
char use_cycles_debug;
|
||||
char use_image_editor_legacy_drawing;
|
||||
/* Other options - remember to turn them off on
|
||||
* BLO_sanitize_experimental_features_userpref_blend. */
|
||||
char use_new_particle_system;
|
||||
char use_new_hair_type;
|
||||
char use_cycles_debug;
|
||||
char use_sculpt_vertex_colors;
|
||||
char use_image_editor_legacy_drawing;
|
||||
char use_tools_missing_icons;
|
||||
char use_switch_object_operator;
|
||||
} UserDef_Experimental;
|
||||
|
|
Loading…
Reference in New Issue