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:
authorAlex Fuller <mistaed>2019-01-14 17:41:24 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-01-14 17:57:53 +0300
commit867ffacabf6c25ded40a39b5af7d61fee1dacc4d (patch)
tree37ad71947b787e96ee5844063d42c8c31f8bf3be /intern/cycles/render/nodes.cpp
parent19fba61d46a6e54d0a85a88f36bd150ec3df97b4 (diff)
Fix Cycles node definition typos and incorrect enum value.
Differential Revision: https://developer.blender.org/D4174
Diffstat (limited to 'intern/cycles/render/nodes.cpp')
-rw-r--r--intern/cycles/render/nodes.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/cycles/render/nodes.cpp b/intern/cycles/render/nodes.cpp
index a1f88dca466..77a452674fb 100644
--- a/intern/cycles/render/nodes.cpp
+++ b/intern/cycles/render/nodes.cpp
@@ -3735,7 +3735,7 @@ void LightPathNode::compile(OSLCompiler& compiler)
NODE_DEFINE(LightFalloffNode)
{
- NodeType* type = NodeType::add("light_fallof", create, NodeType::SHADER);
+ NodeType* type = NodeType::add("light_falloff", create, NodeType::SHADER);
SOCKET_IN_FLOAT(strength, "Strength", 100.0f);
SOCKET_IN_FLOAT(smooth, "Smooth", 0.0f);
@@ -5843,7 +5843,7 @@ NODE_DEFINE(NormalMapNode)
space_enum.insert("world", NODE_NORMAL_MAP_WORLD);
space_enum.insert("blender_object", NODE_NORMAL_MAP_BLENDER_OBJECT);
space_enum.insert("blender_world", NODE_NORMAL_MAP_BLENDER_WORLD);
- SOCKET_ENUM(space, "Space", space_enum, NODE_TANGENT_RADIAL);
+ SOCKET_ENUM(space, "Space", space_enum, NODE_NORMAL_MAP_TANGENT);
SOCKET_STRING(attribute, "Attribute", ustring());
@@ -6054,7 +6054,7 @@ NODE_DEFINE(DisplacementNode)
space_enum.insert("object", NODE_NORMAL_MAP_OBJECT);
space_enum.insert("world", NODE_NORMAL_MAP_WORLD);
- SOCKET_ENUM(space, "Space", space_enum, NODE_NORMAL_MAP_TANGENT);
+ SOCKET_ENUM(space, "Space", space_enum, NODE_NORMAL_MAP_OBJECT);
SOCKET_IN_FLOAT(height, "Height", 0.0f);
SOCKET_IN_FLOAT(midlevel, "Midlevel", 0.5f);