Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
869b4c8
)
Fix the plane vector
author
eap
<eap@opencascade.com>
Tue, 3 Oct 2017 17:12:52 +0000
(20:12 +0300)
committer
eap
<eap@opencascade.com>
Tue, 3 Oct 2017 17:12:52 +0000
(20:12 +0300)
src/SMESH/SMESH_MeshEditor.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_MeshEditor.cxx
b/src/SMESH/SMESH_MeshEditor.cxx
index 671218aeb768ff0d0ccf82d0173e92a0594b2182..59d13e0a36b8020751bc3a031fb98c066fd52980 100644
(file)
--- a/
src/SMESH/SMESH_MeshEditor.cxx
+++ b/
src/SMESH/SMESH_MeshEditor.cxx
@@
-13294,7
+13294,7
@@
void SMESH_MeshEditor::MakePolyLine( TListOfPolySegments& theSegments,
double maxDist = 0;
for ( size_t iP = 1; iP < path.myPoints.size(); ++iP )
{
- double dist =
theSegments[iSeg].myVector * ( path.myPoints[iP] - path.myPoints[0]
);
+ double dist =
Abs( theSegments[iSeg].myVector * ( path.myPoints[iP] - path.myPoints[0] )
);
if ( dist > maxDist )
{
maxDist = dist;