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
Invalidate method added.
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_Bathymetry.cxx
diff --git
a/src/HYDROData/HYDROData_Bathymetry.cxx
b/src/HYDROData/HYDROData_Bathymetry.cxx
index 66223a3a37d2c0d2fa9daa34e82472903eef2bc1..95c0affdc188d0ca97b917e6d41ead08819fb8fd 100644
(file)
--- a/
src/HYDROData/HYDROData_Bathymetry.cxx
+++ b/
src/HYDROData/HYDROData_Bathymetry.cxx
@@
-34,7
+34,7
@@
QStringList HYDROData_Bathymetry::DumpToPython( MapOfTreatedObjects& theTreatedO
{
QStringList aResList;
{
QStringList aResList;
- Handle(HYDROData_Document) aDocument = HYDROData_Document::Document(
this
);
+ Handle(HYDROData_Document) aDocument = HYDROData_Document::Document(
myLab
);
if ( aDocument.IsNull() )
return aResList;
if ( aDocument.IsNull() )
return aResList;
@@
-91,11
+91,9
@@
HYDROData_Bathymetry::AltitudePoints HYDROData_Bathymetry::GetAltitudePoints() c
if ( !myLab.FindChild( DataTag_AltitudePoints ).FindAttribute( TDataStd_RealArray::GetID(), aCoordsArray ) )
return aPoints;
if ( !myLab.FindChild( DataTag_AltitudePoints ).FindAttribute( TDataStd_RealArray::GetID(), aCoordsArray ) )
return aPoints;
- int aLowerIdx = aCoordsArray->Lower();
- int anUpperIdx = aCoordsArray->Upper();
for ( int i = aCoordsArray->Lower(), n = aCoordsArray->Upper(); i <= n; )
{
for ( int i = aCoordsArray->Lower(), n = aCoordsArray->Upper(); i <= n; )
{
- if ( i + 3 > n )
+ if ( i + 3 > n
+ 1
)
break;
AltitudePoint aPoint;
break;
AltitudePoint aPoint;