diff options
Diffstat (limited to 'source/blender/nodes/shader/nodes/node_shader_camera.c')
-rw-r--r-- | source/blender/nodes/shader/nodes/node_shader_camera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_camera.c b/source/blender/nodes/shader/nodes/node_shader_camera.c index 869f24537ef..b1c3a817b84 100644 --- a/source/blender/nodes/shader/nodes/node_shader_camera.c +++ b/source/blender/nodes/shader/nodes/node_shader_camera.c @@ -45,7 +45,7 @@ static void node_shader_exec_camera(void *data, int UNUSED(thread), bNode *UNUSE { if (data) { ShadeInput *shi = ((ShaderCallData *)data)->shi; /* Data we need for shading. */ - + copy_v3_v3(out[0]->vec, shi->co); /* get view vector */ out[1]->vec[0] = fabsf(shi->co[2]); /* get view z-depth */ out[2]->vec[0] = normalize_v3(out[0]->vec); /* get view distance */ |