Fix T46415: empty node group in GLSL shader has incorrect socket type conversion.

This commit is contained in:
Brecht Van Lommel
2015-10-09 01:26:32 +02:00
parent 05ee31e38c
commit 103e38cbec

View File

@@ -141,7 +141,7 @@ void node_gpu_stack_from_data(struct GPUNodeStack *gs, int type, bNodeStack *ns)
{
memset(gs, 0, sizeof(*gs));
copy_v4_v4(gs->vec, ns->vec);
nodestack_get_vec(gs->vec, type, ns);
gs->link = ns->data;
if (type == SOCK_FLOAT)