From: eap Date: Tue, 30 Nov 2010 16:57:18 +0000 (+0000) Subject: 0020945: EDF 1465 SMESH: create a new mesh from a selected group or from selected... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9e91777707243199af097816a426882b3cdf58b7;p=modules%2Fsmesh.git 0020945: EDF 1465 SMESH: create a new mesh from a selected group or from selected elements wrap CopyMesh() --- diff --git a/src/SMESH_I/SMESH_2smeshpy.cxx b/src/SMESH_I/SMESH_2smeshpy.cxx index dfb378f24..ba06e93f2 100644 --- a/src/SMESH_I/SMESH_2smeshpy.cxx +++ b/src/SMESH_I/SMESH_2smeshpy.cxx @@ -352,7 +352,7 @@ void _pyGen::Process( const Handle(_pyCommand)& theCommand ) myMeshes.insert( make_pair( mesh->GetID(), mesh )); return; } - if ( method == "CreateMeshesFromUNV" || method == "CreateMeshesFromSTL") + if ( method == "CreateMeshesFromUNV" || method == "CreateMeshesFromSTL" || method == "CopyMesh" ) { Handle(_pyMesh) mesh = new _pyMesh( theCommand, theCommand->GetResultValue() ); myMeshes.insert( make_pair( mesh->GetID(), mesh ));