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
old mode 100755
(executable)
new mode 100644
(file)
index
49fa389
..
bfe75e3
--- 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;
}