diff options
Diffstat (limited to 'intern/cycles/kernel/shaders/node_texture_coordinate.osl')
-rw-r--r-- | intern/cycles/kernel/shaders/node_texture_coordinate.osl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/kernel/shaders/node_texture_coordinate.osl b/intern/cycles/kernel/shaders/node_texture_coordinate.osl index fdd0a51013b..8fdf469df21 100644 --- a/intern/cycles/kernel/shaders/node_texture_coordinate.osl +++ b/intern/cycles/kernel/shaders/node_texture_coordinate.osl @@ -46,11 +46,11 @@ shader node_texture_coordinate( getattribute("geom:dupli_generated", Generated); getattribute("geom:dupli_uv", UV); } - else if(is_volume) { + else if (is_volume) { Generated = transform("object", P); matrix tfm; - if(getattribute("geom:generated_transform", tfm)) + if (getattribute("geom:generated_transform", tfm)) Generated = transform(tfm, Generated); getattribute("geom:uv", UV); |