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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user