mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-05 06:34:18 +05:00
0021104: EDF 1715 SMESH: RotationSweepObject crashes Salome
fix makeWalls() for the case of the edge located on the rotation axis
This commit is contained in:
parent
db23033585
commit
b90093289c
@ -3885,6 +3885,8 @@ void SMESH_MeshEditor::makeWalls (TNodeOfNodeListMap & mapNewNodes,
|
||||
const SMDS_MeshElement* elem = itElem->first;
|
||||
vector<TNodeOfNodeListMapItr>& vecNewNodes = itElemNodes->second;
|
||||
|
||||
if(itElem->second.size()==0) continue;
|
||||
|
||||
if ( elem->GetType() == SMDSAbs_Edge ) {
|
||||
// create a ceiling edge
|
||||
if (!elem->IsQuadratic()) {
|
||||
@ -3909,8 +3911,6 @@ void SMESH_MeshEditor::makeWalls (TNodeOfNodeListMap & mapNewNodes,
|
||||
if ( elem->GetType() != SMDSAbs_Face )
|
||||
continue;
|
||||
|
||||
if(itElem->second.size()==0) continue;
|
||||
|
||||
bool hasFreeLinks = false;
|
||||
|
||||
TIDSortedElemSet avoidSet;
|
||||
|
Loading…
Reference in New Issue
Block a user