diff options
author | Ton Roosendaal <ton@blender.org> | 2006-12-06 00:33:56 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-12-06 00:33:56 +0300 |
commit | 09d3d15f45dfd2685253d5edd49566e2eab5ec4e (patch) | |
tree | a721f5784605f39362202f2ccccd95343f29263e /source/blender/makesdna/DNA_node_types.h | |
parent | 5e52bee5a7ba17e31d5195ad59913429a05457d4 (diff) |
Node editor: when adding a new node, automatic links are created:
- from all selected nodes
- only connections between highest order socket types; so if there's RGBA
and Value sockets, only RGBA sockets are connected. This because in
these cases the Value sockets usually are for user input.
Example: Mix node.
Thanks Trip for the hint!
Diffstat (limited to 'source/blender/makesdna/DNA_node_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_node_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index 034369f6fe2..6a31dfebf01 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -140,6 +140,8 @@ typedef struct bNode { #define NODE_ACTIVE_ID 32 #define NODE_DO_OUTPUT 64 #define NODE_GROUP_EDIT 128 + /* free test flag, undefined */ +#define NODE_TEST 256 typedef struct bNodeLink { struct bNodeLink *next, *prev; |