From: eap Date: Fri, 26 Apr 2013 10:21:24 +0000 (+0000) Subject: 0022202: EDF SMESH: Regression in a script meshing prisms and hexaedrons X-Git-Tag: V7_2_0~6 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=e1fe293459cc2d4609337e5bf89d12353847c113 0022202: EDF SMESH: Regression in a script meshing prisms and hexaedrons - for ( int iF = 1; iF < faceToSolids.Extent(); ++iF ) + for ( int iF = 1; iF <= faceToSolids.Extent(); ++iF ) --- diff --git a/src/StdMeshers/StdMeshers_Prism_3D.cxx b/src/StdMeshers/StdMeshers_Prism_3D.cxx index cac08865f..149e35a0e 100644 --- a/src/StdMeshers/StdMeshers_Prism_3D.cxx +++ b/src/StdMeshers/StdMeshers_Prism_3D.cxx @@ -470,7 +470,7 @@ bool StdMeshers_Prism_3D::Compute(SMESH_Mesh& theMesh, const TopoDS_Shape& theSh list< TopoDS_Face > meshedFaces, notQuadMeshedFaces, notQuadFaces; const bool meshHasQuads = ( theMesh.NbQuadrangles() > 0 ); //StdMeshers_Quadrangle_2D* quadAlgo = TQuadrangleAlgo::instance( this ); - for ( int iF = 1; iF < faceToSolids.Extent(); ++iF ) + for ( int iF = 1; iF <= faceToSolids.Extent(); ++iF ) { const TopoDS_Face& face = TopoDS::Face( faceToSolids.FindKey( iF )); SMESH_subMesh* faceSM = theMesh.GetSubMesh( face );