diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2012-04-16 14:50:57 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2012-04-16 14:50:57 +0400 |
commit | 5c646e7e3a48c7fea0bfea407d3d27df0b1aa02b (patch) | |
tree | d3593a23f7df93a00aa895143ee0a1ba98d22712 /source/blender/makesdna/DNA_node_types.h | |
parent | bd613739ae4ebfa97471c34cfa4077f3c3e18afc (diff) |
Reverted r43219 "Improved auto-hiding of unused sockets for collapsed nodes."
This feature did have a number of flaws and caused some controversy, so removal is the better option. Hiding nodes without prior connections would just hide all the sockets, leaving an unusable node. Better way is to use the ctrl+h shortcut to explicitly hide unused sockets when necessary.
Diffstat (limited to 'source/blender/makesdna/DNA_node_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_node_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index 6caf0a7d8b2..1abce525be2 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -136,7 +136,8 @@ typedef struct bNodeSocket { /* hide socket value, if it gets auto default */ #define SOCK_HIDE_VALUE 128 /* socket hidden automatically, to distinguish from manually hidden */ -#define SOCK_AUTO_HIDDEN 256 + /* DEPRECATED, only kept here to avoid reusing the flag */ +#define SOCK_AUTO_HIDDEN__DEPRECATED 256 typedef struct bNodePreview { unsigned char *rect; |