From b9986eb294440b54b4d95e24af5b86bb0478de26 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 18 Nov 2014 13:08:18 +0300 Subject: [PATCH] 22808: EDF SMESH: Regression with 3D Extrusion/ViscousLayers in Salome V7_5_BR --- src/StdMeshers/StdMeshers_Prism_3D.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StdMeshers/StdMeshers_Prism_3D.cxx b/src/StdMeshers/StdMeshers_Prism_3D.cxx index f473b36ba..212ea62b8 100644 --- a/src/StdMeshers/StdMeshers_Prism_3D.cxx +++ b/src/StdMeshers/StdMeshers_Prism_3D.cxx @@ -2353,7 +2353,7 @@ bool StdMeshers_Prism_3D::isSimpleBottom( const Prism_3D::TPrismTopo& thePrism ) TopoDS_Vertex commonV; const list< TopoDS_Edge >& botEdges = thePrism.myBottomEdges; list< TopoDS_Edge >::const_iterator edge = botEdges.begin(); - for ( ; edge != botEdges.end(); ++edge ) + while ( edge != botEdges.end() ) { if ( SMESH_Algo::isDegenerated( *edge )) return false; -- 2.39.2