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:
authorDalai Felinto <dalai@blender.org>2020-10-02 13:01:23 +0300
committerDalai Felinto <dalai@blender.org>2020-10-02 15:05:13 +0300
commitcb363953f0b2c33f72d956485aa12f32ba099ca1 (patch)
tree5b0fc5ea06c3be5234485af13b5d48d95a1dcac3 /source/blender/makesdna/DNA_userdef_types.h
parent92a0ec87a241fb279f8362e5f2d7cc2c4e57c6d1 (diff)
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.
Diffstat (limited to 'source/blender/makesdna/DNA_userdef_types.h')
-rw-r--r--source/blender/makesdna/DNA_userdef_types.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h
index 1ed2fba208f..47b8e5b83bd 100644
--- a/source/blender/makesdna/DNA_userdef_types.h
+++ b/source/blender/makesdna/DNA_userdef_types.h
@@ -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;