Salome HOME
PAL9522 - do not abort on hypothesis assignation failure
authoreap <eap@opencascade.com>
Wed, 20 Jul 2005 11:33:52 +0000 (11:33 +0000)
committereap <eap@opencascade.com>
Wed, 20 Jul 2005 11:33:52 +0000 (11:33 +0000)
src/SMESHGUI/SMESHGUI_InitMeshDlg.cxx

index 388409a8ca01622b9a8eabb76d76bec14fe4d830..f3fbf92a725aea3562955acbdd1023b933802b07 100644 (file)
@@ -291,8 +291,8 @@ bool SMESHGUI_InitMeshDlg::ClickOnApply()
          if (!aHyp->_is_nil()) {
            if (!SMESH::AddHypothesisOnMesh(aMesh, aHyp)) {
              // abort transaction
-             op->abort();
-             return false;
+//           op->abort();
+//           return false;
            }
          }
        }
@@ -309,8 +309,8 @@ bool SMESHGUI_InitMeshDlg::ClickOnApply()
          if (!aHyp->_is_nil()) {
            if (!SMESH::AddHypothesisOnMesh(aMesh, aHyp)) {
              // abort transaction
-             op->abort();
-             return false;
+//           op->abort();
+//           return false;
            }
          }
        }