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 388409a..f3fbf92 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;
            }
          }
        }