From: eap Date: Wed, 6 Dec 2006 15:28:57 +0000 (+0000) Subject: PAL13473 (Build repetitive mesh): X-Git-Tag: V3_2_4pre1~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ac2a1f09d823efe794f54124cd953c2f06f38927;p=modules%2Fsmesh.git PAL13473 (Build repetitive mesh): prevent SIGSEGV in case if nodes have qual params on edge --- diff --git a/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx b/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx index e20b1500e..fb24bf950 100644 --- a/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx +++ b/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx @@ -667,7 +667,7 @@ void StdMeshers_Quadrangle_2D::QuadDelete (FaceQuadStruct * quad) void StdMeshers_Quadrangle_2D::SetNormalizedGrid (SMESH_Mesh & aMesh, const TopoDS_Shape& aShape, - FaceQuadStruct* quad) throw (SALOME_Exception) + FaceQuadStruct* & quad) throw (SALOME_Exception) { Unexpect aCatch(SalomeException); // Algorithme décrit dans "Génération automatique de maillages" diff --git a/src/StdMeshers/StdMeshers_Quadrangle_2D.hxx b/src/StdMeshers/StdMeshers_Quadrangle_2D.hxx index da1a677cd..769ed12f3 100644 --- a/src/StdMeshers/StdMeshers_Quadrangle_2D.hxx +++ b/src/StdMeshers/StdMeshers_Quadrangle_2D.hxx @@ -103,7 +103,7 @@ protected: void SetNormalizedGrid(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape, - FaceQuadStruct* quad) + FaceQuadStruct*& quad) throw (SALOME_Exception); /**