mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-22 03:45:36 +05:00
fix regression of smesh/3D_mesh_Polyhedrons/A2
in makeWalls(), add trias or quads on sides of polyhedrons instead of polygons if possible
This commit is contained in:
parent
f70b1805f0
commit
9e5c18b4c8
@ -4115,7 +4115,7 @@ void SMESH_MeshEditor::makeWalls (TNodeOfNodeListMap & mapNewNodes,
|
|||||||
if ( f )
|
if ( f )
|
||||||
aMesh->ChangeElementNodes( f, &polygon_nodes[0], nbn );
|
aMesh->ChangeElementNodes( f, &polygon_nodes[0], nbn );
|
||||||
else
|
else
|
||||||
myLastCreatedElems.Append(aMesh->AddPolygonalFace(polygon_nodes));
|
AddElement(polygon_nodes, SMDSAbs_Face, polygon_nodes.size()>4);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user