From 8a85c65b1e959f49db79105f937c5c16cf5cdbf1 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 3 Sep 2013 11:38:19 +0000 Subject: [PATCH] Regression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/3D_mesh_Extrusion/A6 TTElemOfElemListMap and TElemOfVecOfNnlmiMap must use same comparator for correct work of makeWalls() --- src/SMESH/SMESH_MeshEditor.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/SMESH/SMESH_MeshEditor.hxx b/src/SMESH/SMESH_MeshEditor.hxx index 7368e3c01..870660a8a 100644 --- a/src/SMESH/SMESH_MeshEditor.hxx +++ b/src/SMESH/SMESH_MeshEditor.hxx @@ -193,12 +193,13 @@ public: // If the2D, smoothing is performed using UV parameters of nodes // on geometrical faces + typedef TIDTypeCompare TElemSort; typedef std::map < const SMDS_MeshElement*, - std::list, TIDTypeCompare > TTElemOfElemListMap; + std::list, TElemSort > TTElemOfElemListMap; typedef std::map > TNodeOfNodeListMap; typedef TNodeOfNodeListMap::iterator TNodeOfNodeListMapItr; typedef std::vector TVecOfNnlmiMap; - typedef std::map TElemOfVecOfNnlmiMap; + typedef std::map TElemOfVecOfNnlmiMap; typedef std::auto_ptr< std::list > PGroupIDs; PGroupIDs RotationSweep (TIDSortedElemSet & theElements, -- 2.39.2