Blender Git Loki

Git Commits -> Revision d37deb1

Revision d37deb1 by Julian Eisel (master)
March 24, 2021, 13:28 (GMT)
Cleanup: Move button context based operator poll into utility function

Using the button context for operators is useful for other cases as well (where
the operator isn't the button operator itself). For example we'll need this for
the asset view UI template, where there will be additional operators that
should be able to act on button context.

Commit Details:

Full Hash: d37deb19bebffcd2abae6c409a2c135adf08f0cd
Parent Commit: 781f41f
Lines Changed: +26, -9

2 Modified Paths:

/source/blender/editors/interface/interface.c (+24, -9) (Diff)
/source/blender/editors/interface/interface_intern.h (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021