Blender Git Loki

Git Commits -> Revision 53a1708

Revision 53a1708 by Antonis Ryakiotakis (pie-menus)
July 8, 2014, 15:14 (GMT)
Separate property for viewport shade pies.

This is fine tuned for using with pie menus, where solid/wire mode
is given the most important west/east positions.

There were two possibilities with supporting custom pie enums for an
existing property. One is to add an extra function that dynamically
fills the pie items to fit a pie scheme. The other is make a separate
python property. I feel this is the correct way because it does not
burden all enum properties with extra function storage and it does not
always need to be dynamic either.

Also cleanup minor debug line

Commit Details:

Full Hash: 53a17088602873f12da9666047d1aae30de71038
Parent Commit: 8df8824
Lines Changed: +45, -3

3 Modified Paths:

/release/scripts/startup/bl_ui/space_view3d.py (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_access.c (+0, -2) (Diff)
/source/blender/makesrna/intern/rna_space.c (+44, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021