Skip to content
Snippets Groups Projects
Commit a4cbf982 authored by mattijs's avatar mattijs
Browse files

ENH: detect solidXXX (so no separating space)

parent f113dad6
Branches
Tags
No related merge requests found
......@@ -55,7 +55,7 @@ bool triSurface::readSTL(const fileName& STLfileName)
firstWord[i] = std::toupper(firstWord[i]);
}
if (firstWord == "SOLID")
if (firstWord == "SOLID" || firstWord(5) == "SOLID")
{
return readSTLASCII(STLfileName);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment