mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-30 10:10:32 +05:00
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] ) {
This commit is contained in:
parent
6e7e76bc89
commit
b4a4f5a0d6
@ -2805,12 +2805,12 @@ void SMESH_MeshEditor::sweepElement(const SMDS_MeshElement* elem,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
issimple[iNode] = (listNewNodes.size()==nbSteps);
|
issimple[iNode] = (listNewNodes.size()==nbSteps); // is node medium
|
||||||
|
|
||||||
itNN[ iNode ] = listNewNodes.begin();
|
itNN[ iNode ] = listNewNodes.begin();
|
||||||
prevNod[ iNode ] = node;
|
prevNod[ iNode ] = node;
|
||||||
nextNod[ iNode ] = listNewNodes.front();
|
nextNod[ iNode ] = listNewNodes.front();
|
||||||
if( !issimple[iNode] ) {
|
if( !elem->IsQuadratic() || !issimple[iNode] ) {
|
||||||
if ( prevNod[ iNode ] != nextNod [ iNode ])
|
if ( prevNod[ iNode ] != nextNod [ iNode ])
|
||||||
iNotSameNode = iNode;
|
iNotSameNode = iNode;
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user