From a5388ae4cd46dbe9cbf114aab3fc67b8f76ac1cf Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 16 Feb 2009 14:04:36 +0000 Subject: [PATCH] PAL15429 Computation of the mesh, based on "014.brep" via Tetrahedron(NETGEN), is failed. fix case of wires thouching each other --- src/StdMeshers/StdMeshers_MEFISTO_2D.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StdMeshers/StdMeshers_MEFISTO_2D.cxx b/src/StdMeshers/StdMeshers_MEFISTO_2D.cxx index bdf5b36aa..351d9734c 100644 --- a/src/StdMeshers/StdMeshers_MEFISTO_2D.cxx +++ b/src/StdMeshers/StdMeshers_MEFISTO_2D.cxx @@ -492,7 +492,6 @@ bool StdMeshers_MEFISTO_2D::LoadPoints(TWireVector & wires, } int m = 0; - list< int > mOnVertex; for ( int iW = 0; iW < wires.size(); ++iW ) { @@ -507,6 +506,7 @@ bool StdMeshers_MEFISTO_2D::LoadPoints(TWireVector & wires, return error("Internal error"); } + list< int > mOnVertex; vector::const_iterator uvPt = uvPtVec.begin(); for ( ++uvPt; uvPt != uvPtVec.end(); ++uvPt ) { -- 2.39.2