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:
authorBrecht Van Lommel <brecht@blender.org>2020-06-11 21:32:39 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-06-26 14:19:34 +0300
commit74c49492c258dfdb92bc243b623f061bca6f3e35 (patch)
tree14d14e11a943688f4a6d85c78ebef47d1eeeef00 /source/blender/makesdna
parentd865ad59fc3ae991c871febf130fc5b308f306f7 (diff)
Cycles: add experimental preference to replace magic debug value 256
Previously you'd have to run with --debug-value 256, now just make it a preference so the Debug panel can be always available for developers.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_userdef_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h
index 9ea62183b87..d751ad9ac47 100644
--- a/source/blender/makesdna/DNA_userdef_types.h
+++ b/source/blender/makesdna/DNA_userdef_types.h
@@ -621,8 +621,9 @@ typedef struct UserDef_Experimental {
char use_undo_legacy;
char use_new_particle_system;
char use_new_hair_type;
+ char use_cycles_debug;
/** `makesdna` does not allow empty structs. */
- char _pad0[5];
+ char _pad0[4];
} UserDef_Experimental;
#define USER_EXPERIMENTAL_TEST(userdef, member) \