Blender Git Commit Log

Git Commits -> Revision 8845163

Revision 8845163 by Campbell Barton (master)
February 15, 2011, 18:12 (GMT)
menu to select an enum from an RNA path:
eg,
bpy.ops.wm.context_menu_enum(data_path="scene.tool_settings.vertex_paint.brush.stroke_method")

This saves us defining operators only for menus.

Commit Details:

Full Hash: 884516357453e2530dc0a804cc14c6373e44e39c
SVN Revision: 34872
Parent Commit: 35c03e8
Lines Changed: +32, -0

1 Modified Path:

/release/scripts/op/wm.py (+32, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021