setToUpdateColorScale( true );
if( !getAISObjects().isEmpty() )
- getAISObjects()[0]->Redisplay();
+ {
+ getContext()->RecomputePrsOnly( getAISObjects()[0] );
+ //getAISObjects()[0]->Redisplay();
+ }
}
void HYDROGUI_ShapeBathymetry::RescaleDefault()
getContext()->ClearSelected();
prs->SetTextLabels( selection );
- prs->Redisplay();
+ getContext()->RecomputePrsOnly( prs );
+ //prs->Redisplay();
getContext()->UpdateCurrentViewer();
}