diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-05-09 22:53:32 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-05-09 22:53:32 +0300 |
commit | 583fd3af659fc5526a150d30b6a7a5bc2f0d484f (patch) | |
tree | 166d4a8b1abfabbb0d111a6d8e2c4bf3d2a50886 /intern/cycles/kernel/geom/geom_object.h | |
parent | 136d7a4f6239308ba8b8533b31c3d2a21c4f43cc (diff) |
Cycles: Fix typo in global space version of normal transform
It was using direction transform, which is obviously wrong.
Diffstat (limited to 'intern/cycles/kernel/geom/geom_object.h')
-rw-r--r-- | intern/cycles/kernel/geom/geom_object.h | 2 |
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 |