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

0030215: Application Framework, TPrsStd_AISPresentation - Enable Lazy Presentation Updates

This commit is contained in:
vro
2018-10-15 15:07:52 +03:00
committed by apn
parent da87ddc3eb
commit 78a8dfb9f8
2 changed files with 22 additions and 2 deletions

View File

@@ -943,7 +943,7 @@ void TPrsStd_AISPresentation::AISErase(const Standard_Boolean theIsRemove)
if ( !anOwnContext.IsNull() && anOwnContext != aContext )
anOwnContext->Remove(myAIS, Standard_False);
myAIS->SetToUpdate();
myAIS.Nullify();
}
else
{
@@ -960,7 +960,7 @@ void TPrsStd_AISPresentation::AISErase(const Standard_Boolean theIsRemove)
if ( !anOwnContext.IsNull() )
{
anOwnContext->Remove(myAIS, Standard_False);
myAIS->SetToUpdate();
myAIS.Nullify();
}
}
else