From: vro Date: Wed, 24 Oct 2018 11:04:57 +0000 (+0300) Subject: 0030214: Application Framework, TPrsStd_AISPresentation - Hidden Presentations Cannot... X-Git-Tag: V7_4_0_beta~354 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=253cfde728daadd69031667282985fe873a899ed;p=occt-copy.git 0030214: Application Framework, TPrsStd_AISPresentation - Hidden Presentations Cannot Be Removed --- 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); }