From 413c0323f85247c63d71aa1b053056d3fd625f41 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 13 Nov 2012 11:23:56 +0000 Subject: [PATCH] 0021940: EDF 2460 SMESH : Issue with ConvertToQuadratic Fix GetLastError() more --- src/SMESH_I/SMESH_MeshEditor_i.cxx | 6 ++++++ 1 file changed, 6 insertions(+) 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(); } -- 2.39.2