Blender Git Loki

Git Commits -> Revision cd3c52d

Revision cd3c52d by Joshua Leung (master)
June 13, 2009, 11:21 (GMT)
2.5 - Armature Buttons + UI-Templates

Added a new template for layer-buttons, which auto-determines the layout of the buttons instead of relying on some hardcoded pattern for n-layers (i.e. 16 or 20 currently). This is a still bit rough, and could do with some refining to allow us to define what extra info (icons) should get drawn on the buttons or so.

Currently, this is only used in the Armature buttons to allow showing/hiding layers.

Commit Details:

Full Hash: cd3c52db0334950f85911cca9f7b834647950f7b
SVN Revision: 20850
Parent Commit: eed13b4
Lines Changed: +63, -3

4 Modified Paths:

/release/ui/buttons_data_armature.py (+3, -3) (Diff)
/source/blender/editors/include/UI_interface.h (+1, -0) (Diff)
/source/blender/editors/interface/interface_api.c (+6, -0) (Diff)
/source/blender/editors/interface/interface_templates.c (+53, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021