]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0020553: EDF 1148 SMESH: Some nodes are doubled with operation RotationSweepObject
authoreap <eap@opencascade.com>
Tue, 27 Oct 2009 09:05:46 +0000 (09:05 +0000)
committereap <eap@opencascade.com>
Tue, 27 Oct 2009 09:05:46 +0000 (09:05 +0000)
  fix sweepElement() after modifs for issue 0020381:
-    if( !issimple[iNode] ) {
+    if( !elem->IsQuadratic() || !issimple[iNode] ) {

src/SMESH/SMESH_MeshEditor.cxx

index 62de976cfe04d6cc164f27cec0685d2ae1fc5c42..18dc25dc84099cd8d83e35c5e4ba6ff9ccc12b67 100644 (file)
@@ -2805,12 +2805,12 @@ void SMESH_MeshEditor::sweepElement(const SMDS_MeshElement*               elem,
       return;
     }
 
-    issimple[iNode] = (listNewNodes.size()==nbSteps);
+    issimple[iNode] = (listNewNodes.size()==nbSteps); // is node medium
 
     itNN[ iNode ] = listNewNodes.begin();
     prevNod[ iNode ] = node;
     nextNod[ iNode ] = listNewNodes.front();
-    if( !issimple[iNode] ) {
+    if( !elem->IsQuadratic() || !issimple[iNode] ) {
       if ( prevNod[ iNode ] != nextNod [ iNode ])
         iNotSameNode = iNode;
       else {