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?
This commit is contained in:
Sergey Sharybin
2016-06-13 10:14:18 +02:00
parent 1883dbd8c3
commit 8d8c5a542c

View File

@@ -891,6 +891,7 @@ void OSLCompiler::parameter(ShaderNode* node, const char *name)
case SocketType::NODE: case SocketType::NODE:
case SocketType::NODE_ARRAY: case SocketType::NODE_ARRAY:
case SocketType::UNDEFINED: case SocketType::UNDEFINED:
case SocketType::UINT:
{ {
assert(0); assert(0);
break; break;