Blender Git Loki

Git Commits -> Revision 6250a87

Revision 6250a87 by Hans Goudey (master)
October 30, 2020, 00:34 (GMT)
Cleanup: Use an enum to set instanced panel expansion

This commit uses an enum to access expansion for specific panels for
each modifier, constraint, etc. Even though these values are quite simple,
this can help make the code more explicit when the ui_expand_flag is
accessed directly. Also update comments about this bitfield to make
them consistent.

Commit Details:

Full Hash: 6250a8725ed6a2d9d85f4d313e9931c2fe4a8de3
Parent Commit: 81a0fff
Lines Changed: +47, -19

13 Modified Paths:

/source/blender/blenkernel/intern/constraint.c (+4, -3) (Diff)
/source/blender/blenkernel/intern/gpencil_modifier.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/modifier.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/shader_fx.c (+2, -1) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilarray.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_gpencil_modifier_types.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+28, -0) (Diff)
/source/blender/makesdna/DNA_shader_fx_types.h (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+2, -7) (Diff)
/source/blender/modifiers/intern/MOD_array.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_multires.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021