Salome HOME
Fix of issue EDF 1287 BLSURFPLUGIN: Problem of size map on edge
authornge <nge>
Mon, 15 Feb 2010 10:29:37 +0000 (10:29 +0000)
committernge <nge>
Mon, 15 Feb 2010 10:29:37 +0000 (10:29 +0000)
src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx

index 24941f4d7d2ecbb5e8d18b9a5b12bc8a473bd97e..736ba52d598b6ed6246f9687b0d93d03fc196f65 100644 (file)
@@ -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