Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2015-05-09 22:53:32 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-05-09 22:53:32 +0300
commit583fd3af659fc5526a150d30b6a7a5bc2f0d484f (patch)
tree166d4a8b1abfabbb0d111a6d8e2c4bf3d2a50886 /intern
parent136d7a4f6239308ba8b8533b31c3d2a21c4f43cc (diff)
Cycles: Fix typo in global space version of normal transform
It was using direction transform, which is obviously wrong.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/kernel/geom/geom_object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/geom/geom_object.h b/intern/cycles/kernel/geom/geom_object.h
index 40cbca243a7..d75a9bb15ba 100644
--- a/intern/cycles/kernel/geom/geom_object.h
+++ b/intern/cycles/kernel/geom/geom_object.h
@@ -540,7 +540,7 @@ ccl_device_inline void object_normal_transform_addrspace(KernelGlobals *kg,
ccl_addr_space float3 *N)
{
float3 private_N = *N;
- object_dir_transform(kg, sd, &private_N);
+ object_normal_transform(kg, sd, &private_N);
*N = private_N;
}
#endif