Salome HOME
Fix a bug. Quadrangles were added as triangles.
authorjrt <jrt>
Fri, 17 Oct 2003 16:31:14 +0000 (16:31 +0000)
committerjrt <jrt>
Fri, 17 Oct 2003 16:31:14 +0000 (16:31 +0000)
src/SMDS/SMDS_Mesh.cxx

index daabeb0f8818cad87e9675b94e75d5af0a2c3665..6b0ca83d509f380c533847f1902521f443568d0a 100644 (file)
@@ -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());
 }
 
 ///////////////////////////////////////////////////////////////////////////////