- HYDROGUI_DataModel* aModel = (HYDROGUI_DataModel*)myModule->dataModel();
- if( aModel )
- {
- HYDROData_SequenceOfObjects aSeq;
- HYDROGUI_Tool::GetPrsSubObjects( aModel, theViewerId, aSeq );
- Update( aSeq, theViewerId, theIsForced );
- }
+ HYDROData_SequenceOfObjects aSeq;
+ HYDROGUI_Tool::GetPrsSubObjects( myModule, aSeq );
+ Update( aSeq, theViewerId, theIsForced );