+ // VSR 03/02/05 - check if actor is empty ----- start -----
+ vtkUnstructuredGrid* vtkGrid = anActor->GetUnstructuredGrid();
+ if ( vtkGrid->GetNumberOfPoints() + vtkGrid->GetNumberOfCells() == 0 ) {
+ popup->removeItem( QAD_Display_Popup_ID );
+ popup->removeItem( QAD_DisplayOnly_Popup_ID );
+ popup->removeItem( QAD_Erase_Popup_ID );
+ }
+ // VSR 03/02/05 - check if actor is empty ----- finish -----