forked from bartvdbraak/blender
Cleanup: warning w/ unknown define
This commit is contained in:
parent
5b90a6e188
commit
5bfc32bab4
@ -4478,7 +4478,7 @@ void OSLScriptNode::compile(SVMCompiler& /*compiler*/)
|
||||
|
||||
void OSLScriptNode::compile(OSLCompiler& compiler)
|
||||
{
|
||||
#if OSL_LIBRARY_VERSION_CODE < 10701
|
||||
#if defined(WITH_OSL) && (OSL_LIBRARY_VERSION_CODE < 10701)
|
||||
/* XXX fix for #36790:
|
||||
* point and normal parameters are reflected as generic SOCK_VECTOR sockets
|
||||
* on the node. Socket fixed input values need to be copied explicitly here for
|
||||
|
Loading…
Reference in New Issue
Block a user