diff options
-rw-r--r-- | intern/cycles/render/osl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/render/osl.cpp b/intern/cycles/render/osl.cpp index 56158278e29..f5585babf5c 100644 --- a/intern/cycles/render/osl.cpp +++ b/intern/cycles/render/osl.cpp @@ -468,6 +468,7 @@ void OSLCompiler::add(ShaderNode *node, const char *name, bool isfilepath) parameter(param_name.c_str(), input->value_string); break; case SHADER_SOCKET_CLOSURE: + case SHADER_SOCKET_UNDEFINED: break; } } |