]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0021940: EDF 2460 SMESH : Issue with ConvertToQuadratic
authoreap <eap@opencascade.com>
Tue, 13 Nov 2012 11:23:56 +0000 (11:23 +0000)
committereap <eap@opencascade.com>
Tue, 13 Nov 2012 11:23:56 +0000 (11:23 +0000)
Fix GetLastError() more

src/SMESH_I/SMESH_MeshEditor_i.cxx

index 370ce9b57bab788a504efd0475c7d1ede31c458a..0709265bf2aab9c7d49509f93d010808abad7b76 100644 (file)
@@ -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();
 }