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:
eap 2011-06-15 12:57:07 +00:00
parent f70b1805f0
commit 9e5c18b4c8

View File

@ -4115,7 +4115,7 @@ void SMESH_MeshEditor::makeWalls (TNodeOfNodeListMap & mapNewNodes,
if ( f )
aMesh->ChangeElementNodes( f, &polygon_nodes[0], nbn );
else
myLastCreatedElems.Append(aMesh->AddPolygonalFace(polygon_nodes));
AddElement(polygon_nodes, SMDSAbs_Face, polygon_nodes.size()>4);
}
}