From: eap Date: Thu, 28 Feb 2013 14:45:34 +0000 (+0000) Subject: fix failure of non-regression test SMESH_TEST/Grids/smesh/imps8/I1 X-Git-Tag: V6_main_FINAL~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ce4d8a159eb31d70b1d7deb434c53c795080e0a5;p=plugins%2Fblsurfplugin.git fix failure of non-regression test SMESH_TEST/Grids/smesh/imps8/I1 Restore functioning of "Use Internal Vertices of all faces" option --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index 69a9640..21be167 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -697,7 +697,7 @@ void BLSURFPlugin_BLSURF::SetParameters( const BLSURFPlugin_Hypothesis* hyp, cadsurf_session_t * css, precad_session_t * pcs, - const TopoDS_Shape& GeomShape, + const TopoDS_Shape& theGeomShape, bool * use_precad ) { @@ -705,7 +705,7 @@ void BLSURFPlugin_BLSURF::SetParameters( // Clear map so that it is not stored in the algorithm with old enforced vertices in it EnfVertexCoords2EnfVertexList.clear(); - double diagonal = SMESH_Mesh::GetShapeDiagonalSize( GeomShape ); + double diagonal = SMESH_Mesh::GetShapeDiagonalSize( theGeomShape ); double bbSegmentation = _gen->GetBoundaryBoxSegmentation(); int _physicalMesh = BLSURFPlugin_Hypothesis::GetDefaultPhysicalMesh(); int _geometricMesh = BLSURFPlugin_Hypothesis::GetDefaultGeometricMesh(); @@ -1139,7 +1139,7 @@ void BLSURFPlugin_BLSURF::SetParameters( std::string grpName = BLSURFPlugin_Hypothesis::GetInternalEnforcedVertexAllFacesGroup(hyp); MESSAGE("Setting Internal Enforced Vertices"); gp_Pnt aPnt; - TopExp_Explorer exp (GeomShape, TopAbs_FACE); + TopExp_Explorer exp (theGeomShape, TopAbs_FACE); for (; exp.More(); exp.Next()){ MESSAGE("Iterating shapes. Shape type is " << exp.Current().ShapeType()); TopExp_Explorer exp_face (exp.Current(), TopAbs_VERTEX, TopAbs_EDGE);