- for ( int i = 0, aNBRefs = anImage->NbReferences(); i < aNBRefs; ++i )
- {
- Handle(HYDROData_Image) aRefImage =
- Handle(HYDROData_Image)::DownCast( anImage->Reference( i ) );
- if ( !aRefImage.IsNull() && aRefImage->MustBeUpdated() )
- {
- // image references to updated => also must be updated
- anImage->MustBeUpdated(true);
- aChanged = true;
- }