mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-16 07:00:36 +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) {
|
switch (myElementType) {
|
||||||
case SMDSAbs_Edge:
|
case SMDSAbs_Edge:
|
||||||
aMeshEditor->AddEdge(anArrayOfIdeces.inout()); break;
|
aMeshEditor->AddEdge(anArrayOfIdeces.inout()); break;
|
||||||
case SMDSAbs_Face:
|
case SMDSAbs_Face:{
|
||||||
aMeshEditor->AddFace(anArrayOfIdeces.inout()); break;
|
if(myIsPoly)
|
||||||
|
aMeshEditor->AddPolygonalFace(anArrayOfIdeces.inout());
|
||||||
|
else
|
||||||
|
aMeshEditor->AddFace(anArrayOfIdeces.inout());
|
||||||
|
break;
|
||||||
|
|
||||||
|
}
|
||||||
case SMDSAbs_Volume:
|
case SMDSAbs_Volume:
|
||||||
aMeshEditor->AddVolume(anArrayOfIdeces.inout()); break;
|
aMeshEditor->AddVolume(anArrayOfIdeces.inout()); break;
|
||||||
default:;
|
default:;
|
||||||
|
Loading…
Reference in New Issue
Block a user