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