]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL9522 - do not abort on hypothesis assignation failure
authoreap <eap@opencascade.com>
Wed, 20 Jul 2005 11:34:36 +0000 (11:34 +0000)
committereap <eap@opencascade.com>
Wed, 20 Jul 2005 11:34:36 +0000 (11:34 +0000)
src/SMESHGUI/SMESHGUI_InitMeshDlg.cxx

index 68a7375033b8b6bbe0aa7daad00a085aeb47c184..bc0ad1007371ddb33b61856c7e0cf2d23e2b8b69 100644 (file)
@@ -277,8 +277,8 @@ bool SMESHGUI_InitMeshDlg::ClickOnApply()
          if ( !aHyp->_is_nil() ) {
            if ( !SMESH::AddHypothesisOnMesh( aMesh, aHyp ) ) {
              // abort transaction
-             op->abort();
-             return false;
+//           op->abort();
+//           return false;
            }
          }
        }
@@ -294,8 +294,8 @@ bool SMESHGUI_InitMeshDlg::ClickOnApply()
          if ( !aHyp->_is_nil() ) {
            if ( !SMESH::AddHypothesisOnMesh( aMesh, aHyp ) ) {
              // abort transaction
-             op->abort();
-             return false;
+//           op->abort();
+//           return false;
            }
          }
        }
@@ -493,6 +493,3 @@ QString SMESHGUI_InitMeshDlg::GetDefaultMeshName()
 
   return aMeshName;
 }
-
-
-