Salome HOME
projects
/
modules
/
hydro.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f69c6f0
)
Bug #202 - Fatal error during polyline creation
author
nds
<nds@opencascade.com>
Fri, 6 Dec 2013 12:48:57 +0000
(12:48 +0000)
committer
nds
<nds@opencascade.com>
Fri, 6 Dec 2013 12:48:57 +0000
(12:48 +0000)
src/HYDROCurveCreator/CurveCreator_Profile.cxx
patch
|
blob
|
history
diff --git
a/src/HYDROCurveCreator/CurveCreator_Profile.cxx
b/src/HYDROCurveCreator/CurveCreator_Profile.cxx
index 28cccbe9418ad7daa39ef004b29a149ae7a10a29..4164ca68390eb48d4db918ff3a67050ff2b3d3f6 100644
(file)
--- a/
src/HYDROCurveCreator/CurveCreator_Profile.cxx
+++ b/
src/HYDROCurveCreator/CurveCreator_Profile.cxx
@@
-179,7
+179,7
@@
bool CurveCreator_Profile::addPointsInternal( const CurveCreator::SectionsMap &t
if ( !aSection->myPoints.empty() )
aC = *(aSection->myPoints.end() - 2);
- if ( aSection->myPoints.empty() || aCoordU > aC )
+ if ( aSection->myPoints.empty() || aCoordU >
=
aC )
{
aSection->myPoints.push_back( aCoordU );
aSection->myPoints.push_back( aCoordZ );