]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0020945: EDF 1465 SMESH: create a new mesh from a selected group or from selected...
authoreap <eap@opencascade.com>
Tue, 30 Nov 2010 16:57:18 +0000 (16:57 +0000)
committereap <eap@opencascade.com>
Tue, 30 Nov 2010 16:57:18 +0000 (16:57 +0000)
   wrap CopyMesh()

src/SMESH_I/SMESH_2smeshpy.cxx

index dfb378f245374942c3cbcde707e2a473220d9af9..ba06e93f2b1df54a0ef8742b26e16b653004fb97 100644 (file)
@@ -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 ));