ENH: Don't write badFaces when there are none.
This commit is contained in:
parent
255b9c0262
commit
dbbacfbefd
@ -396,13 +396,17 @@ int main(int argc, char *argv[])
|
||||
problemFaces.append(faceI);
|
||||
}
|
||||
}
|
||||
OFstream str("badFaces");
|
||||
|
||||
Info<< "Dumping bad quality faces to " << str.name() << endl
|
||||
<< "Paste this into the input for surfaceSubset" << nl
|
||||
<< nl << endl;
|
||||
if (!problemFaces.empty())
|
||||
{
|
||||
OFstream str("badFaces");
|
||||
|
||||
str << problemFaces;
|
||||
Info<< "Dumping bad quality faces to " << str.name() << endl
|
||||
<< "Paste this into the input for surfaceSubset" << nl
|
||||
<< nl << endl;
|
||||
|
||||
str << problemFaces;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user