From 74c49492c258dfdb92bc243b623f061bca6f3e35 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 11 Jun 2020 20:32:39 +0200 Subject: 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. --- source/blender/makesdna/DNA_userdef_types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna') 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) \ -- cgit v1.2.3