From: nge Date: Mon, 15 Feb 2010 10:29:37 +0000 (+0000) Subject: Fix of issue EDF 1287 BLSURFPLUGIN: Problem of size map on edge X-Git-Tag: V5_1_4a1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=93d36c0b1fde1404405da4046287afbe6dc9bbdc;p=plugins%2Fblsurfplugin.git Fix of issue EDF 1287 BLSURFPLUGIN: Problem of size map on edge --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index 24941f4..736ba52 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -1070,7 +1070,8 @@ bool BLSURFPlugin_BLSURF::Compute(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape) if (HasSizeMapOnEdge){ edgeKey = EdgesWithSizeMap.FindIndex(e); if (EdgeId2SizeMap.find(edgeKey)!=EdgeId2SizeMap.end()) { - theSizeMapStr = EdgeId2SizeMap[faceKey]; + MESSAGE("Sizemap defined on edge with index " << edgeKey); + theSizeMapStr = EdgeId2SizeMap[edgeKey]; if (theSizeMapStr.find(bad_end) == (theSizeMapStr.size()-bad_end.size()-1)) continue; // Expr To Python function, verification is performed at validation in GUI