Fix T46415: empty node group in GLSL shader has incorrect socket type conversion.
This commit is contained in:
parent
7a93fbc807
commit
a67433bc19
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue