From: vro Date: Tue, 18 Sep 2018 13:24:06 +0000 (+0300) Subject: 0030142: Application Framework, TPrsStd_AISPresentation - Hidden Presentations Are... X-Git-Tag: V7_4_0_beta~394 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=39effd08e568135d7121b7317df4a99b3e907176;p=occt.git 0030142: Application Framework, TPrsStd_AISPresentation - Hidden Presentations Are Computed During Document Retrieval --- diff --git a/src/TPrsStd/TPrsStd_AISPresentation.cxx b/src/TPrsStd/TPrsStd_AISPresentation.cxx index 173639ab58..e67391a013 100644 --- a/src/TPrsStd/TPrsStd_AISPresentation.cxx +++ b/src/TPrsStd/TPrsStd_AISPresentation.cxx @@ -713,9 +713,11 @@ void TPrsStd_AISPresentation::BeforeForget() //======================================================================= void TPrsStd_AISPresentation::AfterResume() { - AISUpdate(); if ( IsDisplayed() ) + { + AISUpdate(); AISDisplay(); + } else AISErase(); }