mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-05 14:54:19 +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;
|
const SMDS_MeshElement* elem = itElem->first;
|
||||||
vector<TNodeOfNodeListMapItr>& vecNewNodes = itElemNodes->second;
|
vector<TNodeOfNodeListMapItr>& vecNewNodes = itElemNodes->second;
|
||||||
|
|
||||||
|
if(itElem->second.size()==0) continue;
|
||||||
|
|
||||||
if ( elem->GetType() == SMDSAbs_Edge ) {
|
if ( elem->GetType() == SMDSAbs_Edge ) {
|
||||||
// create a ceiling edge
|
// create a ceiling edge
|
||||||
if (!elem->IsQuadratic()) {
|
if (!elem->IsQuadratic()) {
|
||||||
@ -3909,8 +3911,6 @@ void SMESH_MeshEditor::makeWalls (TNodeOfNodeListMap & mapNewNodes,
|
|||||||
if ( elem->GetType() != SMDSAbs_Face )
|
if ( elem->GetType() != SMDSAbs_Face )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if(itElem->second.size()==0) continue;
|
|
||||||
|
|
||||||
bool hasFreeLinks = false;
|
bool hasFreeLinks = false;
|
||||||
|
|
||||||
TIDSortedElemSet avoidSet;
|
TIDSortedElemSet avoidSet;
|
||||||
|
Loading…
Reference in New Issue
Block a user