From 99baeb95830d5fe79a2cadd291ef083496c34909 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 7 Apr 2014 17:24:24 +0400 Subject: [PATCH] 22526: SMESH 2864 - Projection and Extrusion fix dump --- src/SMESH_I/SMESH_2smeshpy.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) 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 { -- 2.39.2