Blender Git Commit Log

Git Commits -> Revision 6255447

September 5, 2013, 17:25 (GMT)
Started to implement operator to icon pairing.

* wmOperatorType has an extra icon() method that is used to determine which icon to use based on the operator properties set for a button.
* wmOperatorType has a default_icon field, exposed to python as bl_icon, that is used if the icon() function is not set.
* Buttons have to have a but->icon value of ICON_AUTOMATIC, which is -1.

Commit Details:

Full Hash: 6255447154439f8c33458c979ba9de5af6054efc
SVN Revision: 59849
Parent Commit: 1565fbf
Lines Changed: +62, -13

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2019