1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0028088: Visualization, AIS_InteractiveContext - drop default value for Update Viewer parameter

This commit is contained in:
isk
2016-12-27 13:24:08 +03:00
committed by kgv
parent 9bcfd6f649
commit 0577ae8ca4
65 changed files with 884 additions and 715 deletions

View File

@@ -772,7 +772,7 @@ void TPrsStd_AISPresentation::AISUpdate()
if ( !(anObj == myAIS) )
{
if ( !aContext.IsNull() )
aContext->Remove(myAIS);
aContext->Remove (myAIS, Standard_True);
// Driver has built new AIS.
myAIS = anObj;
@@ -893,7 +893,7 @@ void TPrsStd_AISPresentation::AISDisplay()
if ( !myAIS.IsNull() )
{
if ( !(myAIS->GetContext()).IsNull() && (myAIS->GetContext()) != aContext )
myAIS->GetContext()->Remove(myAIS);
myAIS->GetContext()->Remove (myAIS, Standard_False);
if ( IsDisplayed() && aContext->IsDisplayed(myAIS) )
return;