Blender Git Loki

Git Commits -> Revision 2ff7142

Revision 2ff7142 by Julian Eisel (master)
June 29, 2021, 16:20 (GMT)
UI: Support setting operator properties for `UILayout.operator_menu_enum()`

`UILayout.operator_menu_enum()` now returns the operator properties, just like
`UILayout.operator()`. This makes it possible to set options for the operator
displayed in the menu. In C it can be done through the new
`uiItemMenuEnumFullO()` or `uiItemMenuEnumFullO_ptr()`.

It's reasonable to have this, probably just a small thing never bothered to
add. D10912 could use it, the following comment can be addressed now too:$583-586

Commit Details:

Full Hash: 2ff714269e53f9a744242cd6c039ec65a47ec7ec
Parent Commit: 63aa6dd
Lines Changed: +66, -28

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021