diff options
Diffstat (limited to 'intern/cycles/graph/node.cpp')
-rw-r--r-- | intern/cycles/graph/node.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/cycles/graph/node.cpp b/intern/cycles/graph/node.cpp index 4d32d52aa83..f239040ee3d 100644 --- a/intern/cycles/graph/node.cpp +++ b/intern/cycles/graph/node.cpp @@ -98,7 +98,7 @@ void Node::set(const SocketType &input, float value) void Node::set(const SocketType &input, float2 value) { - assert(input.type == SocketType::FLOAT); + assert(input.type == SocketType::POINT2); set_if_different(input, value); } @@ -165,7 +165,7 @@ void Node::set(const SocketType &input, array<float> &value) void Node::set(const SocketType &input, array<float2> &value) { - assert(input.type == SocketType::FLOAT_ARRAY); + assert(input.type == SocketType::POINT2_ARRAY); set_if_different(input, value); } @@ -189,7 +189,7 @@ void Node::set(const SocketType &input, array<Transform> &value) void Node::set(const SocketType &input, array<Node *> &value) { - assert(input.type == SocketType::TRANSFORM_ARRAY); + assert(input.type == SocketType::NODE_ARRAY); set_if_different(input, value); } |