diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-01-15 16:16:27 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-01-15 16:16:27 +0400 |
commit | da03cc338e061bc6bfd82344c693f698d640f82b (patch) | |
tree | bdad5443671abf13447ebc2f562ed9da6c510a75 | |
parent | 600b2ad0127034e027a37ccbc61adf66dfc7347b (diff) |
Fix #33800: GLSL group nodes not using the external input value unless a node
was connected to the socket.
-rw-r--r-- | source/blender/nodes/shader/node_shader_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/nodes/shader/node_shader_util.c b/source/blender/nodes/shader/node_shader_util.c index 544ccb8fda6..f567e36cc19 100644 --- a/source/blender/nodes/shader/node_shader_util.c +++ b/source/blender/nodes/shader/node_shader_util.c @@ -221,6 +221,7 @@ void node_gpu_stack_from_data(struct GPUNodeStack *gs, int type, bNodeStack *ns) void node_data_from_gpu_stack(bNodeStack *ns, GPUNodeStack *gs) { + copy_v4_v4(ns->vec, gs->vec); ns->data= gs->link; ns->sockettype= gs->sockettype; } |