Blender Git Loki
Git Commits -> Revision 3dead22
Revision 3dead22 by Lukas Toenne (master) January 8, 2012, 10:23 (GMT) |
Improved auto-hiding of unused sockets for collapsed nodes. Instead of generally hiding all unused sockets in collapsed mode, the sockets now have a new explicit flag SOCK_AUTO_HIDDEN, which is only toggled when the hide_toggle operator is called. This way the auto-hidden sockets stay as they are when nodes are duplicated etc. The new flag is necessary to distinguish between manually hidden sockets (via hide_sockets_toggle operator) and automatically hidden sockets and restore the node state when unhiding a node. |
Commit Details:
Full Hash: 3dead22c7322cf72ee63a003ba50940abc12e7c9
SVN Revision: 43219
Parent Commit: d6e0d0f
Lines Changed: +126, -47
10 Modified Paths:
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_node.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+5, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+64, -1) (Diff)
/source/blender/editors/space_node/node_draw.c (+10, -10) (Diff)
/source/blender/editors/space_node/node_edit.c (+37, -30) (Diff)
/source/blender/editors/space_node/node_intern.h (+2, -2) (Diff)
/source/blender/makesdna/DNA_node_types.h (+2, -0) (Diff)
/source/blender/nodes/intern/node_common.c (+2, -2) (Diff)
/source/blender/nodes/shader/node_shader_util.c (+1, -1) (Diff)
/source/blender/blenkernel/BKE_node.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+5, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+64, -1) (Diff)
/source/blender/editors/space_node/node_draw.c (+10, -10) (Diff)
/source/blender/editors/space_node/node_edit.c (+37, -30) (Diff)
/source/blender/editors/space_node/node_intern.h (+2, -2) (Diff)
/source/blender/makesdna/DNA_node_types.h (+2, -0) (Diff)
/source/blender/nodes/intern/node_common.c (+2, -2) (Diff)
/source/blender/nodes/shader/node_shader_util.c (+1, -1) (Diff)