]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
22526: SMESH 2864 - Projection and Extrusion
authoreap <eap@opencascade.com>
Mon, 7 Apr 2014 13:24:24 +0000 (17:24 +0400)
committereap <eap@opencascade.com>
Mon, 7 Apr 2014 13:24:24 +0000 (17:24 +0400)
  fix dump

src/SMESH_I/SMESH_2smeshpy.cxx

index f5595c08aaa65e5298d0e8903ba69778bddf47ce..b7b5b5f0fcd8e35589fb3017531b78b390a0c8ae 100644 (file)
@@ -2006,6 +2006,14 @@ void _pyMesh::Process( const Handle(_pyCommand)& theCommand )
             addCmd->Clear();
             theCommand->Clear();
           }
+          else
+          {
+            // mesh.AddHypothesis(geom, hyp) --> mesh.AddHypothesis(hyp, geom=0)
+            addCmd->RemoveArgs();
+            addCmd->SetArg( 1, hypID );
+            if ( isLocal )
+              addCmd->SetArg( 2, geomID );
+          }
         }
         else
         {