Blender Git Commit Log

Git Commits -> Revision a885d8a

Revision a885d8a by Lukas Toenne (master)
December 18, 2011, 12:51 (GMT)
Fix for toggle buttons in node headers.

The buttons for "hiding" (collapsing) a node, hiding unlinked sockets, additional options, the preview and for opening a node group were all using a custom mouse test function, which was broken. They now use actual buttons instead of just displaying icons. Before executing the respective operators the button's node has to be selected and activated, so the buttons use an intermediate handle function, which selects the node and then calls the operator.

Commit Details:

Full Hash: a885d8aee6eeaf9e202abf147ed769929f859cf3
SVN Revision: 42705
Parent Commit: 8ed5fdd
Lines Changed: +374, -389

7 Modified Paths:

/source/blender/editors/interface/interface_panel.c (+0, -1) (Diff)
/source/blender/editors/space_node/node_draw.c (+75, -24) (Diff)
/source/blender/editors/space_node/node_edit.c (+85, -201) (Diff)
/source/blender/editors/space_node/node_intern.h (+9, -6) (Diff)
/source/blender/editors/space_node/node_ops.c (+2, -2) (Diff)
/source/blender/editors/space_node/node_select.c (+203, -1) (Diff)
/source/blender/editors/space_node/node_state.c (+0, -154) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021