mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-16 04:10:32 +05:00
Fix for Bug IPAL11982:
TC: impossible to create a polygon
This commit is contained in:
parent
8a3117c4fb
commit
1752749678
@ -446,8 +446,14 @@ void SMESHGUI_AddMeshElementDlg::ClickOnApply()
|
||||
switch (myElementType) {
|
||||
case SMDSAbs_Edge:
|
||||
aMeshEditor->AddEdge(anArrayOfIdeces.inout()); break;
|
||||
case SMDSAbs_Face:
|
||||
aMeshEditor->AddFace(anArrayOfIdeces.inout()); break;
|
||||
case SMDSAbs_Face:{
|
||||
if(myIsPoly)
|
||||
aMeshEditor->AddPolygonalFace(anArrayOfIdeces.inout());
|
||||
else
|
||||
aMeshEditor->AddFace(anArrayOfIdeces.inout());
|
||||
break;
|
||||
|
||||
}
|
||||
case SMDSAbs_Volume:
|
||||
aMeshEditor->AddVolume(anArrayOfIdeces.inout()); break;
|
||||
default:;
|
||||
|
Loading…
Reference in New Issue
Block a user