From 90d8f32b68d2806d4dc883a5b9d391abb20ac50f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Delgado=20Kr=C3=A4mer?= Date: Thu, 25 Jul 2024 00:15:06 +0200 Subject: [PATCH] mc: fix deprecated function being used for MaterialX 1.38.8 --- src/mc/src/MtlxMdlCodeGen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mc/src/MtlxMdlCodeGen.cpp b/src/mc/src/MtlxMdlCodeGen.cpp index df8e43a8..64485d47 100644 --- a/src/mc/src/MtlxMdlCodeGen.cpp +++ b/src/mc/src/MtlxMdlCodeGen.cpp @@ -105,7 +105,7 @@ namespace std::vector renderableElements; #if (MATERIALX_MAJOR_VERSION > 1) || \ (MATERIALX_MAJOR_VERSION == 1 && MATERIALX_MINOR_VERSION > 38) || \ - (MATERIALX_MAJOR_VERSION == 1 && MATERIALX_MINOR_VERSION == 38 && MATERIALX_BUILD_VERSION > 8) + (MATERIALX_MAJOR_VERSION == 1 && MATERIALX_MINOR_VERSION == 38 && MATERIALX_BUILD_VERSION > 7) renderableElements = mx::findRenderableElements(doc); #else mx::findRenderableElements(doc, renderableElements);