}
HYDROData_SequenceOfObjects HYDROGUI_Tool::GetGeometryObjects(
- const Handle(HYDROData_Document)& theDoc )
+ HYDROGUI_Module* theModule )
{
+ Handle(HYDROData_Document) aDocument = HYDROData_Document::Document( theModule->getStudyId() );
+
HYDROData_SequenceOfObjects aResSeq;
- HYDROData_Iterator anIter( theDoc );
+ HYDROData_Iterator anIter( aDocument );
for ( ; anIter.More(); anIter.Next() )
{
Handle(HYDROData_Entity) anObj = anIter.Current();