forked from blender/blender
MaterialX: fix review comments #19
@ -24,7 +24,7 @@ static int node_shader_gpu_add_shader(GPUMaterial *mat,
|
||||
|
||||
NODE_SHADER_MATERIALX_BEGIN
|
||||
{
|
||||
#ifdef WITH_MATERIALX
|
||||
#ifdef WITH_MATERIALX
|
||||
NodeItem res = empty();
|
||||
switch (to_type_) {
|
||||
case NodeItem::Type::BSDF:
|
||||
@ -55,7 +55,7 @@ NODE_SHADER_MATERIALX_BEGIN
|
||||
BLI_assert_unreachable();
|
||||
}
|
||||
return res;
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
NODE_SHADER_MATERIALX_END
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user