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
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/kernel/shaders/node_set_normal.osl')
-rw-r--r--intern/cycles/kernel/shaders/node_set_normal.osl9
1 files changed, 3 insertions, 6 deletions
diff --git a/intern/cycles/kernel/shaders/node_set_normal.osl b/intern/cycles/kernel/shaders/node_set_normal.osl
index 7ca7ac9350c..9541b829ef7 100644
--- a/intern/cycles/kernel/shaders/node_set_normal.osl
+++ b/intern/cycles/kernel/shaders/node_set_normal.osl
@@ -16,11 +16,8 @@
#include "stdosl.h"
-surface node_set_normal(
- normal Direction = N,
- output normal Normal = N)
+surface node_set_normal(normal Direction = N, output normal Normal = N)
{
- N = Direction;
- Normal = Direction;
+ N = Direction;
+ Normal = Direction;
}
-