]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0021374]: EDF 1898 SMESH: Extrusion of a node to have an edge
authoreap <eap@opencascade.com>
Mon, 13 Feb 2012 17:52:48 +0000 (17:52 +0000)
committereap <eap@opencascade.com>
Mon, 13 Feb 2012 17:52:48 +0000 (17:52 +0000)
Don't ExtrusionFlags

src/SMESH_I/SMESH_MeshEditor_i.cxx

index c843dcb5e19c009e96605ca07e99d4a90e632915..4c1ff5c3b3ebb22a64a3269ade51a9afaefbaf58 100644 (file)
@@ -1893,11 +1893,11 @@ SMESH_MeshEditor_i::extrusionSweep(const SMESH::long_array & theIDsOfElements,
     TIDSortedElemSet* workElements = & elements;
 
     SMDSAbs_ElementType aType = SMDSAbs_Face;
-    ::SMESH_MeshEditor::ExtrusionFlags aFlag = ::SMESH_MeshEditor::ExtrusionFlags::EXTRUSION_FLAG_BOUNDARY;
+    //::SMESH_MeshEditor::ExtrusionFlags aFlag = ::SMESH_MeshEditor::ExtrusionFlags::EXTRUSION_FLAG_BOUNDARY;
     if (theElementType == SMDSAbs_Node)
     {
       aType = SMDSAbs_Edge;
-      aFlag = ::SMESH_MeshEditor::ExtrusionFlags::EXTRUSION_FLAG_SEW;
+      //aFlag = ::SMESH_MeshEditor::ExtrusionFlags::EXTRUSION_FLAG_SEW;
     }
     TPreviewMesh      tmpMesh( aType );
     SMESH_Mesh* mesh = myMesh;
@@ -1913,7 +1913,7 @@ SMESH_MeshEditor_i::extrusionSweep(const SMESH::long_array & theIDsOfElements,
     TElemOfElemListMap aHystory;
     ::SMESH_MeshEditor anEditor( mesh );
     ::SMESH_MeshEditor::PGroupIDs groupIds = 
-        anEditor.ExtrusionSweep (*workElements, stepVec, theNbOfSteps, aHystory, theMakeGroups, aFlag);
+        anEditor.ExtrusionSweep (*workElements, stepVec, theNbOfSteps, aHystory, theMakeGroups);
 
     myMesh->GetMeshDS()->Modified();
     storeResult(anEditor);