mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
0021270: EDF 1870 SMESH: ExtrusionAlongPathObjX + Merge nodes remove 3D elements
in MergeNodes(), fix detection of replaced nodes of an elem
This commit is contained in:
parent
dc0cbc90ec
commit
bfb3c2e489
@ -7145,15 +7145,13 @@ void SMESH_MeshEditor::MergeNodes (TListOfListOfNodes & theGroupsOfNodes)
|
||||
}
|
||||
}
|
||||
// BUG 0020185: end
|
||||
iRepl[ nbRepl++ ] = iCur;
|
||||
}
|
||||
curNodes[ iCur ] = n;
|
||||
bool isUnique = nodeSet.insert( n ).second;
|
||||
if ( isUnique ) {
|
||||
if ( isUnique )
|
||||
uniqueNodes[ iUnique++ ] = n;
|
||||
if ( nbRepl && iRepl[ nbRepl-1 ] == iCur )
|
||||
--nbRepl; // n do not stick to a node of the elem
|
||||
}
|
||||
else
|
||||
iRepl[ nbRepl++ ] = iCur;
|
||||
iCur++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user