Blender Git Loki

Git Commits -> Revision 7ba1489

Revision 7ba1489 by Campbell Barton (master)
December 19, 2019, 02:30 (GMT)
Cleanup: use 'context' to make panels show in their section

All panels were calling poll to draw in their section causing a lot of
repeated boiler plate poll functions.

Also rename 'PreferencePanel' to 'CenterAlignMixIn'
since this is it's purpose.

Commit Details:

Full Hash: 7ba1489bd7235a333a4f99040b3c9e7501bf346c
Parent Commit: f98e2c0
Lines Changed: +257, -374

4 Modified Paths:

/release/scripts/startup/bl_ui/space_userpref.py (+218, -356) (Diff)
/source/blender/editors/space_userpref/space_userpref.c (+25, -3) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+13, -15) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021