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_CalculationCase.cxx
diff --git
a/src/HYDROData/HYDROData_CalculationCase.cxx
b/src/HYDROData/HYDROData_CalculationCase.cxx
index 6c5339e2eaf9f7f23ac8c5e84cdbcd8022fc1728..adc5843e2afbbf7f6e68574544274e778a48ffb3 100644
(file)
--- a/
src/HYDROData/HYDROData_CalculationCase.cxx
+++ b/
src/HYDROData/HYDROData_CalculationCase.cxx
@@
-28,7
+28,7
@@
QStringList HYDROData_CalculationCase::DumpToPython( MapOfTreatedObjects& theTre
{
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;
@@
-77,7
+77,7
@@
void HYDROData_CalculationCase::SplitGeometryObjects()
// At first we remove previously created regions
RemoveRegions();
// At first we remove previously created regions
RemoveRegions();
- Handle(HYDROData_Document) aDocument = HYDROData_Document::Document(
this
);
+ Handle(HYDROData_Document) aDocument = HYDROData_Document::Document(
myLab
);
if ( aDocument.IsNull() )
return;
if ( aDocument.IsNull() )
return;
@@
-166,7
+166,7
@@
Handle(HYDROData_Region) HYDROData_CalculationCase::AddNewRegion( const Handle(H
return aNewRegion;
// Generate new name for new region
return aNewRegion;
// Generate new name for new region
- Handle(HYDROData_Document) aDocument = HYDROData_Document::Document(
this
);
+ Handle(HYDROData_Document) aDocument = HYDROData_Document::Document(
myLab
);
if ( !aDocument.IsNull() )
{
QString aNewRegionName = HYDROData_Tool::GenerateObjectName( aDocument, "Region" );
if ( !aDocument.IsNull() )
{
QString aNewRegionName = HYDROData_Tool::GenerateObjectName( aDocument, "Region" );