From: eap Date: Tue, 27 Oct 2009 09:05:46 +0000 (+0000) Subject: 0020553: EDF 1148 SMESH: Some nodes are doubled with operation RotationSweepObject X-Git-Tag: RELIQUAT_5x_30102009~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b4a4f5a0d6b2d7b234107537977145a2a41ad270;p=modules%2Fsmesh.git 0020553: EDF 1148 SMESH: Some nodes are doubled with operation RotationSweepObject fix sweepElement() after modifs for issue 0020381: - if( !issimple[iNode] ) { + if( !elem->IsQuadratic() || !issimple[iNode] ) { --- diff --git a/src/SMESH/SMESH_MeshEditor.cxx b/src/SMESH/SMESH_MeshEditor.cxx index 62de976cf..18dc25dc8 100644 --- a/src/SMESH/SMESH_MeshEditor.cxx +++ b/src/SMESH/SMESH_MeshEditor.cxx @@ -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 {