From 253cfde728daadd69031667282985fe873a899ed Mon Sep 17 00:00:00 2001 From: vro Date: Wed, 24 Oct 2018 14:04:57 +0300 Subject: [PATCH] 0030214: Application Framework, TPrsStd_AISPresentation - Hidden Presentations Cannot Be Removed --- src/TPrsStd/TPrsStd_AISPresentation.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5