Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix MinDistance for node-group (SALOME_TESTS/Grids/smesh/imps_09/K0)
[modules/smesh.git]
/
src
/
SMESHUtils
/
SMESH_PolyLine.cxx
diff --git
a/src/SMESHUtils/SMESH_PolyLine.cxx
b/src/SMESHUtils/SMESH_PolyLine.cxx
index b244a7560e99a2a3227776a50b61fd61e40ffa03..82ace285912eba5086e0b76940d3397ee20027bc 100644
(file)
--- a/
src/SMESHUtils/SMESH_PolyLine.cxx
+++ b/
src/SMESHUtils/SMESH_PolyLine.cxx
@@
-154,7
+154,10
@@
namespace
if ( !path.SetCutAtCorner( cornerNode, fIt->next(), plnNorm, plnOrig ))
continue;
if ( !path.SetCutAtCorner( cornerNode, fIt->next(), plnNorm, plnOrig ))
continue;
- if ( !myAvoidSet.insert( path.myNode1.Node() ).second ||
+ if ( path.myDot1 == 0 &&
+ !myAvoidSet.insert( path.myNode1.Node() ).second )
+ continue;
+ if ( path.myDot2 == 0 &&
!myAvoidSet.insert( path.myNode2.Node() ).second )
continue;
!myAvoidSet.insert( path.myNode2.Node() ).second )
continue;