Fix for Bug IPAL11982:

TC: impossible to create a polygon
This commit is contained in:
enk 2006-03-23 09:22:18 +00:00
parent 8a3117c4fb
commit 1752749678

View File

@ -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:;