ENH: detect solidXXX (so no separating space)

This commit is contained in:
mattijs
2010-08-31 19:20:27 +01:00
parent f113dad6b9
commit a4cbf9825f

View File

@ -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);
}