From 5e4a5b388c7bd9e9036d3dd513c831aa55110d21 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 9 Oct 2018 12:12:21 +0300 Subject: [PATCH 1/2] Fix regression of SALOME_TESTS/Grids/smesh/mesh_BLSURF_02/C6 --- src/SMESH/SMESH_Mesh.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SMESH/SMESH_Mesh.cxx b/src/SMESH/SMESH_Mesh.cxx index 4ee7e09c0..226800af2 100644 --- a/src/SMESH/SMESH_Mesh.cxx +++ b/src/SMESH/SMESH_Mesh.cxx @@ -361,6 +361,7 @@ double SMESH_Mesh::GetShapeDiagonalSize(const TopoDS_Shape & aShape) bool isPrecise = false; if ( nbFaces < maxNbFaces ) try { + OCC_CATCH_SIGNALS; GEOMUtils::PreciseBoundingBox( aShape, Box ); isPrecise = true; } From f2614ea1d552edc74c317ba7ff2840bcd33d92f2 Mon Sep 17 00:00:00 2001 From: Paul RASCLE Date: Wed, 10 Oct 2018 13:20:08 +0200 Subject: [PATCH 2/2] debug load med file with penta18 --- src/MEDWrapper/MED_Common.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/MEDWrapper/MED_Common.cxx b/src/MEDWrapper/MED_Common.cxx index 8eb8db747..3e253ad5c 100644 --- a/src/MEDWrapper/MED_Common.cxx +++ b/src/MEDWrapper/MED_Common.cxx @@ -108,6 +108,7 @@ namespace MED aGeomMAILLESet.insert(MED::eTETRA10); aGeomMAILLESet.insert(MED::ePYRA13); aGeomMAILLESet.insert(MED::ePENTA15); + aGeomMAILLESet.insert(MED::ePENTA18); aGeomMAILLESet.insert(MED::eHEXA20); aGeomMAILLESet.insert(MED::eHEXA27); aGeomMAILLESet.insert(MED::ePOLYEDRE);