diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2016-11-03 14:38:00 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2016-11-03 14:38:00 +0300 |
commit | 27c559f059056ad2973d581354426f458a82e278 (patch) | |
tree | 9f2a90fd061e56b8efad81266b8e3cbf645a400c /intern/cycles/kernel | |
parent | 647255db939596b1b51e88f40e28086f92caf281 (diff) |
Cycles: Fix missing underscore in geom_object.h
Diffstat (limited to 'intern/cycles/kernel')
-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 73dc5a0a726..9f0fe032ba4 100644 --- a/intern/cycles/kernel/geom/geom_object.h +++ b/intern/cycles/kernel/geom/geom_object.h @@ -161,7 +161,7 @@ ccl_device_inline void object_inverse_position_transform(KernelGlobals *kg, cons ccl_device_inline void object_inverse_normal_transform(KernelGlobals *kg, const ShaderData *sd, float3 *N) { -#ifdef __OBJECT_MOTION_ +#ifdef __OBJECT_MOTION__ if((ccl_fetch(sd, object) != OBJECT_NONE) || (ccl_fetch(sd, type) == PRIMITIVE_LAMP)) { *N = normalize(transform_direction_transposed_auto(&ccl_fetch(sd, ob_tfm), *N)); } |