Fix of IPAL22186: don't dump the contents of list of vertexes if it is empty.

This commit is contained in:
akl 2010-12-30 13:55:49 +00:00
parent 3012e7ea8e
commit 690621885d

View File

@ -543,9 +543,10 @@ Handle(GEOM_Object) GEOMImpl_ILocalOperations::MakeFillet1D
<< ", " << theR << ", [";
it = theVertexes.begin();
pd << (*it++);
while (it != theVertexes.end()) {
pd << ", " << (*it++);
if (it != theVertexes.end()) {
pd << (*it++);
while (it != theVertexes.end())
pd << ", " << (*it++);
}
pd << "])";