Blender Git Loki

Git Commits -> Revision eedc3c0

Revision eedc3c0 by Campbell Barton (master)
January 18, 2010, 16:47 (GMT)
append/prepend class methods for the header and panels (previously only worked for menus)

Example of adding a button to the view header;

def draw_custom(self, context): self.layout.operator("some.operator")
bpy.types.VIEW3D_HT_header.append(draw_custom)

Commit Details:

Full Hash: eedc3c09d112e85f346897875c851d2793da465c
SVN Revision: 26081
Parent Commit: 13f28b6
Lines Changed: +17, -5

1 Modified Path:

/release/scripts/modules/bpy_types.py (+17, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021