Skip to content

Commit d5e0b55

Browse files
committed
Minor update based on Copilot feedback
1 parent 1c17ae3 commit d5e0b55

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

source/MaterialXTest/MaterialXRenderMdl/RenderMdl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ RenderUtil::RenderProfileResult MdlShaderRenderTester::runRenderer(
153153
command += " --mdl_path \"" + sp.asString() + "\"";
154154
}
155155

156-
// Set MDL search path for the module itself.
157-
command += " --mdl_path \"" + item.outputPath.asString() + "\"";
156+
// Set MDL search path for the module itself (directory containing the .mdl file).
157+
command += " --mdl_path \"" + outputFilePath.asString() + "\"";
158158

159159
// Set environment
160160
mx::FileSearchPath searchPath = mx::getDefaultDataSearchPath();

0 commit comments

Comments
 (0)