]> OCCT Git - occt.git/commitdiff
0030142: Application Framework, TPrsStd_AISPresentation - Hidden Presentations Are...
authorvro <vro@opencascade.com>
Tue, 18 Sep 2018 13:24:06 +0000 (16:24 +0300)
committerbugmaster <bugmaster@opencascade.com>
Wed, 19 Sep 2018 08:58:33 +0000 (11:58 +0300)
src/TPrsStd/TPrsStd_AISPresentation.cxx

index 173639ab58d27dfe2d7e63ec47501f20a3598337..e67391a013dff81ab2616237e5e85085e857d86e 100644 (file)
@@ -713,9 +713,11 @@ void TPrsStd_AISPresentation::BeforeForget()
 //=======================================================================
 void TPrsStd_AISPresentation::AfterResume()
 {
-  AISUpdate();
   if ( IsDisplayed() )
+  {
+       AISUpdate();
     AISDisplay();
+  }
   else
     AISErase();
 }