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
Methods to work with imagw references:
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_Polyline.cxx
diff --git
a/src/HYDROData/HYDROData_Polyline.cxx
b/src/HYDROData/HYDROData_Polyline.cxx
index abac653b3d138eecfc95ddddebfaf99e4d32bf60..8770a561efcdd654c0a3eb7d31794093d4d7e04b 100755
(executable)
--- a/
src/HYDROData/HYDROData_Polyline.cxx
+++ b/
src/HYDROData/HYDROData_Polyline.cxx
@@
-62,7
+62,7
@@
QStringList HYDROData_Polyline::DumpToPython( MapOfTreatedObjects& theTreatedObj
{
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;
@@
-78,7
+78,7
@@
QStringList HYDROData_Polyline::DumpToPython( MapOfTreatedObjects& theTreatedObj
aResList << QString( "" );
int aDim = GetDimension();
aResList << QString( "" );
int aDim = GetDimension();
- aResList << QString( "%1.
s
etDimension( %2 );" )
+ aResList << QString( "%1.
S
etDimension( %2 );" )
.arg( aPolylineName ).arg( aDim );
// Set polilyne data
.arg( aPolylineName ).arg( aDim );
// Set polilyne data
@@
-121,8
+121,9
@@
QStringList HYDROData_Polyline::DumpToPython( MapOfTreatedObjects& theTreatedObj
aResList << QString( "%1.append( %2 );" )
.arg( aPolylineDataName ).arg( aPolylineSectName );
}
aResList << QString( "%1.append( %2 );" )
.arg( aPolylineDataName ).arg( aPolylineSectName );
}
+ aResList << QString( "" );
- aResList << QString( "%1.
s
etPolylineData( %2 );" )
+ aResList << QString( "%1.
S
etPolylineData( %2 );" )
.arg( aPolylineName ).arg( aPolylineDataName );
}
.arg( aPolylineName ).arg( aPolylineDataName );
}