From: eap Date: Mon, 7 Apr 2014 13:24:24 +0000 (+0400) Subject: 22526: SMESH 2864 - Projection and Extrusion X-Git-Tag: V7_4_0b1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=99baeb95830d5fe79a2cadd291ef083496c34909;p=modules%2Fsmesh.git 22526: SMESH 2864 - Projection and Extrusion fix dump --- diff --git a/src/SMESH_I/SMESH_2smeshpy.cxx b/src/SMESH_I/SMESH_2smeshpy.cxx index f5595c08a..b7b5b5f0f 100644 --- a/src/SMESH_I/SMESH_2smeshpy.cxx +++ b/src/SMESH_I/SMESH_2smeshpy.cxx @@ -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 {