From 44de3040644c7012b7c662fbda6bb6418fb57760 Mon Sep 17 00:00:00 2001 From: Jonathan Stone Date: Wed, 11 Dec 2024 08:21:07 -0800 Subject: [PATCH] Update letter case Signed-off-by: Jonathan Stone --- source/MaterialXGenMdl/MdlShaderGenerator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/MaterialXGenMdl/MdlShaderGenerator.cpp b/source/MaterialXGenMdl/MdlShaderGenerator.cpp index 2b46599a5d..8d8e81b596 100644 --- a/source/MaterialXGenMdl/MdlShaderGenerator.cpp +++ b/source/MaterialXGenMdl/MdlShaderGenerator.cpp @@ -439,12 +439,12 @@ string MdlShaderGenerator::getUpstreamResult(const ShaderInput* input, GenContex const CustomCodeNodeMdl* upstreamCustomNodeMdl = dynamic_cast(&upstreamNode->getImplementation()); if (upstreamCustomNodeMdl) { - // prefix the port name depending on the CustomCodeNode + // Prefix the port name depending on the CustomCodeNode variable = upstreamNode->getName() + "_result." + upstreamCustomNodeMdl->modifyPortName(fieldName, mdlSyntax); } else { - // existing implementations and none user defined structs will keep the prefix always to not break existing content + // Existing implementations and none user defined structs will keep the prefix always to not break existing content variable = upstreamNode->getName() + "_result." + mdlSyntax.modifyPortName(upstreamOutput->getName()); } }