Blender Git Commit Log

Git Commits -> Revision bb06e31

Revision bb06e31 by Campbell Barton (master)
June 7, 2009, 14:53 (GMT)
added item_enumO() so python menu items can call enum types with string args.

Example sequencer menu
self.layout.column()
self.layout.item_enumO("SEQUENCER_OT_effect_strip_add", property='type', value='ADD', text="Effect Strip (Add)")

Commit Details:

Full Hash: bb06e311a18518740edec42dce26d377ab16f0d7
SVN Revision: 20711
Parent Commit: eecf772
Lines Changed: +37, -5

4 Modified Paths:

/source/blender/editors/include/UI_interface.h (+1, -0) (Diff)
/source/blender/editors/interface/interface_api.c (+2, -2) (Diff)
/source/blender/editors/interface/interface_layout.c (+33, -0) (Diff)
/source/blender/python/intern/bpy_rna.c (+1, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021