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

BUG: triSurface: reading obj files with <cr> ending

parent d64871cc
Branches
Tags
No related merge requests found
......@@ -104,7 +104,7 @@ bool Foam::triSurface::readOBJ(const fileName& OBJfileName)
while (true)
{
string::size_type startNum =
line.find_first_not_of(' ', endNum);
line.find_first_not_of(" \r", endNum);
if (startNum == string::npos)
{
......
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