diff options
author | Ton Roosendaal <ton@blender.org> | 2011-07-22 19:28:50 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2011-07-22 19:28:50 +0400 |
commit | ea90544d65a5b2549d5e0b4761de3bf0f2631688 (patch) | |
tree | 440209dcaa85c0ff10c84c933fc0c81de77164b9 /source/blender/makesdna | |
parent | 382050501dc0036dc28434b205215ebc21a0cf1b (diff) |
Need some fun once a while:
On dragging a non-connected node on a noodle, it will insert it.
Functionality tweaks are possible, but it already feels non-intrusive.
Rules:
- Insertion only when a single noodle is intersecting with node.
- Default connects first matching socket type.
- If no socket match, it connects the first.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_node_types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index 03387c3a63a..efaf30b02f6 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -179,6 +179,10 @@ typedef struct bNodeLink { } bNodeLink; + +/* link->flag */ +#define NODE_LINKFLAG_HILITE 1 + /* the basis for a Node tree, all links and nodes reside internal here */ /* only re-usable node trees are in the library though, materials and textures allocate own tree struct */ typedef struct bNodeTree { |