diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-06-13 11:14:18 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-06-13 11:15:39 +0300 |
commit | 8d8c5a542c48ece7c867dff42bbf9375466ae56f (patch) | |
tree | 8ee8d4b49ec860702031d22644beb1e12e957ecb /intern/cycles/render/osl.cpp | |
parent | 1883dbd8c3ad00fea7b31769943365698e66317a (diff) |
Cycles: Fix unhandled enumerator in OSL switch
Unsigned int is not supported by OSL as far as i concerned, so should not
really matter here. However, might be wrong and perhaps more proper idea
would be so set it as regular int?
Diffstat (limited to 'intern/cycles/render/osl.cpp')
-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 cf94df5f98f..676afad997e 100644 --- a/intern/cycles/render/osl.cpp +++ b/intern/cycles/render/osl.cpp @@ -891,6 +891,7 @@ void OSLCompiler::parameter(ShaderNode* node, const char *name) case SocketType::NODE: case SocketType::NODE_ARRAY: case SocketType::UNDEFINED: + case SocketType::UINT: { assert(0); break; |