]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL15429 Computation of the mesh, based on "014.brep" via Tetrahedron(NETGEN), is...
authoreap <eap@opencascade.com>
Mon, 16 Feb 2009 14:04:36 +0000 (14:04 +0000)
committereap <eap@opencascade.com>
Mon, 16 Feb 2009 14:04:36 +0000 (14:04 +0000)
   fix case of wires thouching each other

src/StdMeshers/StdMeshers_MEFISTO_2D.cxx

index bdf5b36aa9ba2f85cd46cbcad9c0dddd9e4bc2ab..351d9734cd76066b41a6c05bb677d1c637ed71be 100644 (file)
@@ -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<UVPtStruct>::const_iterator uvPt = uvPtVec.begin();
     for ( ++uvPt; uvPt != uvPtVec.end(); ++uvPt )
     {