Commit dbbacfbe authored by graham's avatar graham
Browse files

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

parent 255b9c02
...@@ -396,6 +396,9 @@ int main(int argc, char *argv[]) ...@@ -396,6 +396,9 @@ int main(int argc, char *argv[])
problemFaces.append(faceI); problemFaces.append(faceI);
} }
} }
if (!problemFaces.empty())
{
OFstream str("badFaces"); OFstream str("badFaces");
Info<< "Dumping bad quality faces to " << str.name() << endl Info<< "Dumping bad quality faces to " << str.name() << endl
...@@ -405,6 +408,7 @@ int main(int argc, char *argv[]) ...@@ -405,6 +408,7 @@ int main(int argc, char *argv[])
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