}
}
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 );
if ( !anOwnerObj.IsNull() && anOwnerObj->IsRemoved() )
module()->removeObjectShape( (size_t)aViewer, anOwnerObj );
}
+ UpdateColorScale( aViewer );
}
QString HYDROGUI_OCCDisplayer::GetType() const
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 );
}
}