From 7f1e3874f9924bd9abf5b3a875c1c673eb33daa1 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Fri, 8 Dec 2006 21:20:36 +0000 Subject: Node editing usablity! - Removed stupid idea to insert convertor nodes in Node Shaders, when a link is created by non-matching sockets. Now it works like Compositor, doing a default conversion. Works like this: 1 from 3 or 4 values: take average 3 from 1: copy to all 3 from 4: copy 3 4 from 1: copy to 3, set alpha to 1 4 from 3: copy 3, set alpha to 1 - Added select-linked in Nodes. Lkey or Shift+L. Also in pulldown menus --- source/blender/makesdna/DNA_node_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_node_types.h') diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index 6a31dfebf01..efc812af092 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -50,7 +50,7 @@ typedef struct bNodeStack { short hasinput; /* when input has link, tagged before executing */ short hasoutput; /* when output is linked, tagged before executing */ short datatype; /* type of data pointer */ - short pad; + short sockettype; /* type of socket stack comes from, to remap linking different sockets */ } bNodeStack; /* ns->datatype, shadetree only */ -- cgit v1.2.3