Blender Git Loki

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021