Commit dbbacfbe authored by graham's avatar graham
Browse files

ENH: Don't write badFaces when there are none.

parent 255b9c02
...@@ -396,13 +396,17 @@ int main(int argc, char *argv[]) ...@@ -396,13 +396,17 @@ int main(int argc, char *argv[])
problemFaces.append(faceI); problemFaces.append(faceI);
} }
} }
OFstream str("badFaces");
Info<< "Dumping bad quality faces to " << str.name() << endl if (!problemFaces.empty())
<< "Paste this into the input for surfaceSubset" << nl {
<< nl << endl; OFstream str("badFaces");
Info<< "Dumping bad quality faces to " << str.name() << endl
<< "Paste this into the input for surfaceSubset" << nl
<< nl << endl;
str << problemFaces; str << problemFaces;
}
} }
} }
......
Supports Markdown
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