void HYDROGUI_ShapeBathymetry::Rescale( double theMin, double theMax )
{
- getContext()->ClearSelected();
+ getContext()->ClearSelected(true);
myMin = qMin( theMin, theMax );
myMax = qMax( theMin, theMax );
setToUpdateColorScale( true );
if( !getAISObjects().isEmpty() )
{
- getContext()->RecomputePrsOnly( getAISObjects()[0] );
+ getContext()->RecomputePrsOnly( getAISObjects()[0], true );
//getAISObjects()[0]->Redisplay();
- }
+}
}
void HYDROGUI_ShapeBathymetry::RescaleDefault()
if( isOn )
selection = selected();
- //getContext()->ClearSelected();
+
+ //getContext()->ClearSelected(true);
prs->SetTextLabels( selection );
getContext()->RecomputePrsOnly( prs, Standard_False, Standard_False );
//prs->Redisplay();
if( isUpdateCurrentViewer )
- getContext()->UpdateCurrentViewer();
+ getContext()->UpdateCurrentViewer();
}