From: eap Date: Tue, 13 Nov 2012 11:23:56 +0000 (+0000) Subject: 0021940: EDF 2460 SMESH : Issue with ConvertToQuadratic X-Git-Tag: V6_6_0rc1~56 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=413c0323f85247c63d71aa1b053056d3fd625f41;p=modules%2Fsmesh.git 0021940: EDF 2460 SMESH : Issue with ConvertToQuadratic Fix GetLastError() more --- diff --git a/src/SMESH_I/SMESH_MeshEditor_i.cxx b/src/SMESH_I/SMESH_MeshEditor_i.cxx index 370ce9b57..0709265bf 100644 --- a/src/SMESH_I/SMESH_MeshEditor_i.cxx +++ b/src/SMESH_I/SMESH_MeshEditor_i.cxx @@ -658,6 +658,12 @@ SMESH::ComputeError* SMESH_MeshEditor_i::GetLastError() errOut->subShapeID = -1; errOut->hasBadMesh = !errIn->myBadElements.empty(); } + else + { + errOut->code = 0; + errOut->subShapeID = -1; + errOut->hasBadMesh = false; + } return errOut._retn(); }