0021940: EDF 2460 SMESH : Issue with ConvertToQuadratic

Fix GetLastError() more
This commit is contained in:
eap 2012-11-13 11:23:56 +00:00
parent 405388e7fa
commit 413c0323f8

View File

@ -658,6 +658,12 @@ SMESH::ComputeError* SMESH_MeshEditor_i::GetLastError()
errOut->subShapeID = -1; errOut->subShapeID = -1;
errOut->hasBadMesh = !errIn->myBadElements.empty(); errOut->hasBadMesh = !errIn->myBadElements.empty();
} }
else
{
errOut->code = 0;
errOut->subShapeID = -1;
errOut->hasBadMesh = false;
}
return errOut._retn(); return errOut._retn();
} }