Salome HOME
PAL20917 EDF 1431 SMESH: Warning about Hexotic
authorvsr <vsr@opencascade.com>
Wed, 6 Oct 2010 17:28:05 +0000 (17:28 +0000)
committervsr <vsr@opencascade.com>
Wed, 6 Oct 2010 17:28:05 +0000 (17:28 +0000)
doc/salome/gui/SMESH/images/hexotic_parameters.png
src/SMESHGUI/SMESHGUI_MeshOp.cxx

index c06ff3bb2ecb0a5ee2f3ed61570aa8a481d7d9de..5f4bb3df5e8f7ada557f671ecb1a37fa7f0eae30 100644 (file)
Binary files a/doc/salome/gui/SMESH/images/hexotic_parameters.png and b/doc/salome/gui/SMESH/images/hexotic_parameters.png differ
index 84107dc27e1734034a7e4ef3f121fb0af41d4169..c8217239dce43cc767cc542ab9e76ab69500f1a2 100644 (file)
@@ -1858,7 +1858,7 @@ SMESH::SMESH_Hypothesis_var SMESHGUI_MeshOp::getAlgo( const int theDim )
       {
         // Call hypothesis creation server method (without GUI)
         SMESH::SMESH_Hypothesis_var aHyp =
-          SMESH::CreateHypothesis(aHypName, aHypData->Label, true);
+          SMESH::CreateHypothesis(aHypName, aHypName, true);
 #ifdef WITHGENERICOBJ
         if (!CORBA::is_nil(aHyp))
           aHyp->Destroy();
@@ -1876,7 +1876,7 @@ SMESH::SMESH_Hypothesis_var SMESHGUI_MeshOp::getAlgo( const int theDim )
           aCreator->create(true, aHypName, myDlg, 0, QString::null );
         else {
           SMESH::SMESH_Hypothesis_var aHyp =
-            SMESH::CreateHypothesis(aHypName, aHypData->Label, true);
+            SMESH::CreateHypothesis(aHypName, aHypName, true);
 #ifdef WITHGENERICOBJ
           if (!CORBA::is_nil(aHyp))
             aHyp->Destroy();