Skip to content
Snippets Groups Projects
Commit 85526c12 authored by David E. DeMarle's avatar David E. DeMarle
Browse files

Fix a parsing bug in RayTracer MaterialLibrary MTL parsing.

Thanks Reynaldo for noticing the bug!
parent 30b603e5
No related branches found
No related tags found
No related merge requests found
......@@ -500,8 +500,8 @@ bool vtkOSPRayMaterialLibrary::InternalParseMTL(
try
{
d1 = std::stod(v1);
d2 = std::stod(v1);
d3 = std::stod(v1);
d2 = std::stod(v2);
d3 = std::stod(v3);
OK = true;
}
catch (const std::invalid_argument&)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment