We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c17ae3 commit d5e0b55Copy full SHA for d5e0b55
1 file changed
source/MaterialXTest/MaterialXRenderMdl/RenderMdl.cpp
@@ -153,8 +153,8 @@ RenderUtil::RenderProfileResult MdlShaderRenderTester::runRenderer(
153
command += " --mdl_path \"" + sp.asString() + "\"";
154
}
155
156
- // Set MDL search path for the module itself.
157
- command += " --mdl_path \"" + item.outputPath.asString() + "\"";
+ // Set MDL search path for the module itself (directory containing the .mdl file).
+ command += " --mdl_path \"" + outputFilePath.asString() + "\"";
158
159
// Set environment
160
mx::FileSearchPath searchPath = mx::getDefaultDataSearchPath();
0 commit comments