Blender Git Commit Log
Git Commits -> Revision b450d3c
Revision b450d3c by Lukas Toenne (master) November 22, 2011, 17:49 (GMT) |
Fix for long-standing TODO item: Clicking on overlapping nodes would activate buttons below. This patch adds a new CLIP_EVENTS flag for uiBlock, which will prevent the ui_but_find_mouse_over search function from looking into "lower" uiBlocks (i.e. those further back in the list). The order of block creation for nodes has also been updated to use the z-ordering (just the nodetree->nodes list). In order for this to work, the bounding box values of the uiBlocks have to be set explicitely to fit the node size, those are usually either zero or calculated from the internal buttons. |
Commit Details:
Full Hash: b450d3c3b6585cefe52d007c0088c4dc7b2e78ec
SVN Revision: 42075
Parent Commit: 470cfd4
Lines Changed: +52, -17
5 Modified Paths:
/source/blender/editors/include/UI_interface.h (+2, -0) (Diff)
/source/blender/editors/interface/interface.c (+9, -0) (Diff)
/source/blender/editors/interface/interface_handlers.c (+8, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+10, -0) (Diff)
/source/blender/editors/space_node/node_draw.c (+23, -17) (Diff)
/source/blender/editors/interface/interface.c (+9, -0) (Diff)
/source/blender/editors/interface/interface_handlers.c (+8, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+10, -0) (Diff)
/source/blender/editors/space_node/node_draw.c (+23, -17) (Diff)