GPU: Fix wrong socket value struct
This was causing bad behavior of the node Normal.
This commit is contained in:
parent
d6908471c0
commit
57b4e122fc
|
@ -1430,7 +1430,7 @@ static GPUNodeLink *gpu_uniformbuffer_link(
|
|||
}
|
||||
case SOCK_VECTOR:
|
||||
{
|
||||
bNodeSocketValueRGBA *socket_data = socket->default_value;
|
||||
bNodeSocketValueVector *socket_data = socket->default_value;
|
||||
link = GPU_uniform(socket_data->value);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue