From b4a4f5a0d6b2d7b234107537977145a2a41ad270 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 27 Oct 2009 09:05:46 +0000 Subject: [PATCH] 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] ) { --- src/SMESH/SMESH_MeshEditor.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.39.2