diff options
Diffstat (limited to 'intern/cycles/kernel/shaders/node_tangent.osl')
-rw-r--r-- | intern/cycles/kernel/shaders/node_tangent.osl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/shaders/node_tangent.osl b/intern/cycles/kernel/shaders/node_tangent.osl index 83f19a4610b..f086fa079ec 100644 --- a/intern/cycles/kernel/shaders/node_tangent.osl +++ b/intern/cycles/kernel/shaders/node_tangent.osl @@ -22,7 +22,7 @@ shader node_tangent(normal NormalIn = N, string axis = "z", output normal Tangent = normalize(dPdu)) { - vector T; + vector T = vector(0.0, 0.0, 0.0); if (direction_type == "uv_map") { getattribute(attr_name, T); |