From: jrt Date: Fri, 17 Oct 2003 16:31:14 +0000 (+0000) Subject: Fix a bug. Quadrangles were added as triangles. X-Git-Tag: V1_3_0_b1~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e02efafc157b2d557d77e591cfc86c0d1a0d8518;p=modules%2Fsmesh.git Fix a bug. Quadrangles were added as triangles. --- diff --git a/src/SMDS/SMDS_Mesh.cxx b/src/SMDS/SMDS_Mesh.cxx index daabeb0f8..6b0ca83d5 100644 --- a/src/SMDS/SMDS_Mesh.cxx +++ b/src/SMDS/SMDS_Mesh.cxx @@ -214,7 +214,7 @@ SMDS_MeshFace* SMDS_Mesh::AddFace(const SMDS_MeshNode * n1, const SMDS_MeshNode * n3, const SMDS_MeshNode * n4) { - return AddFaceWithID(n1,n2,n3, myElementIDFactory->GetFreeID()); + return AddFaceWithID(n1,n2,n3, n4, myElementIDFactory->GetFreeID()); } ///////////////////////////////////////////////////////////////////////////////