}
}
else if ( !aCtx.IsNull() ) { // TODO: determine if this code is necessary (added as a fix for issue# 359)
- aCtx->UpdateSelected();
+ aCtx->UpdateSelected(true);
}
UpdateColorScale( aViewer );
aCtx->Display( aColorScale, Standard_False );
}
- aCtx->Update( aColorScale );
+ aCtx->Update( aColorScale, true );
}
}
}
else
{
if ( !aCtx.IsNull() && aCtx->IsDisplayed( aColorScale ) ) {
- aCtx->Erase( aColorScale );
+ aCtx->Erase( aColorScale, true );
}
}