Blender Git Loki

Git Commits -> Revision 4584caa

Revision 4584caa by Bastien Montagne (master)
December 3, 2013, 23:09 (GMT)
Fix UI bug with 'socket menus' (used e.g. by cycles' Material panels).

Also tweaked a bit how nodes with more than one socket available are drawn:
* The node entry itself (a label) has no more any icon, so that it is aligned with the other single-socket nodes.
* The sub-entries (i.e. node's sockets) are more clearly indented (using a blank icon).

Details:
Another case of bad internal UI_HAS_ICON flag erasing by brutally assigning an uneeded value to but->flag.
Revealed by recent split of some button flags into but->drawflag.

Thanks to Thomas Dinge for noting the issue.

Commit Details:

Full Hash: 4584caa13310d89c83f67db9530f05336ed89560
Parent Commit: f3d13be
Lines Changed: +12, -9

1 Modified Path:

/source/blender/editors/space_node/node_templates.c (+12, -9) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021