Fix a bug. Quadrangles were added as triangles.

This commit is contained in:
jrt 2003-10-17 16:31:14 +00:00
parent 212b8d174e
commit e02efafc15

View File

@ -214,7 +214,7 @@ SMDS_MeshFace* SMDS_Mesh::AddFace(const SMDS_MeshNode * n1,
const SMDS_MeshNode * n3, const SMDS_MeshNode * n3,
const SMDS_MeshNode * n4) const SMDS_MeshNode * n4)
{ {
return AddFaceWithID(n1,n2,n3, myElementIDFactory->GetFreeID()); return AddFaceWithID(n1,n2,n3, n4, myElementIDFactory->GetFreeID());
} }
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////