diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-01-06 06:52:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-01-06 06:58:33 +0400 |
commit | 64fc94e93f13c38fdf25d9ac3a13e08811d055d9 (patch) | |
tree | 5b957e3d4b455c95cd849d21dc74652007b47799 /intern | |
parent | ce6dce3b1335c71a3a818ddd649db6fa8300877b (diff) |
Code Cleanup: osl style
Diffstat (limited to 'intern')
-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); |