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 f5595c0..b7b5b5f 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
         {