const bool theIsForced )
{
HYDROData_SequenceOfObjects aSeq;
- HYDROGUI_Tool::GetPrsSubObjects( myModule, theViewerId, aSeq );
+ HYDROGUI_Tool::GetPrsSubObjects( myModule, aSeq );
Update( aSeq, theViewerId, theIsForced );
}
if( aPrs )
{
- bool anIsVisible = anObj->GetVisibility();
+ bool anIsVisible = myModule->isObjectVisible( (size_t)aViewer, anObj );
aPrs->setVisible( anIsVisible );
}
}
+ aViewPort->onBoundingRectChanged(); // specific of HYDRO module
aViewPort->fitAll();
}