Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug #202 - Fatal error during polyline creation
[modules/hydro.git]
/
src
/
HYDROCurveCreator
/
CurveCreator_Profile.cxx
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() )
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 );
{
aSection->myPoints.push_back( aCoordU );
aSection->myPoints.push_back( aCoordZ );