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
first ver. (creating of new channel => calc case => export calc case works OK)
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_ProfileUZ.cxx
diff --git
a/src/HYDROData/HYDROData_ProfileUZ.cxx
b/src/HYDROData/HYDROData_ProfileUZ.cxx
index 49fa3899596e151e8b3e7ec993ebc9765598062f..bfe75e3b55092840f3f6701cdf2f9e74bb27cc5b 100644
(file)
--- a/
src/HYDROData/HYDROData_ProfileUZ.cxx
+++ b/
src/HYDROData/HYDROData_ProfileUZ.cxx
@@
-82,6
+82,7
@@
double HYDROData_ProfileUZ::GetDepthFromDistance( const PointsList& thePoints,
aResDepth = ( aPrevPoint.Y() + aRatio * aCurPoint.Y() ) / ( 1 + aRatio );
break;
}
+ else aResDepth = aCurPoint.Y(); // TODO: workaround for normalized flat altitudes
aPrevPoint = aCurPoint;
}