diff --git a/src/TPrsStd/TPrsStd_AISPresentation.cxx b/src/TPrsStd/TPrsStd_AISPresentation.cxx index 75ba33bd20..777eb8f042 100644 --- a/src/TPrsStd/TPrsStd_AISPresentation.cxx +++ b/src/TPrsStd/TPrsStd_AISPresentation.cxx @@ -134,7 +134,7 @@ void TPrsStd_AISPresentation::Display(const Standard_Boolean theIsUpdate) //======================================================================= void TPrsStd_AISPresentation::Erase(const Standard_Boolean theIsRemove) { - if ( IsDisplayed() ) + if ( IsDisplayed() || theIsRemove) { AISErase(theIsRemove); }