MaterialX: fix review comments #19

Merged
Bogdan Nagirniak merged 10 commits from matx-fix-review-comments into matx-export-material 2023-09-14 02:01:04 +02:00
Showing only changes of commit 7f72cfba30 - Show all commits

View File

@ -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