Salome HOME
refs #1501 p.3 v2.1.1__salome84
authorisn <isn@opencascade.com>
Thu, 14 Dec 2017 17:16:01 +0000 (20:16 +0300)
committerisn <isn@opencascade.com>
Thu, 14 Dec 2017 17:17:37 +0000 (20:17 +0300)
src/HYDROGUI/HYDROGUI_OCCDisplayer.cxx

index 7d609e2860c92b341fb07daa61892fd336a1ec97..de674e8b413e1688fcd0962af2b346c3449ba316 100644 (file)
@@ -325,6 +325,7 @@ void HYDROGUI_OCCDisplayer::purgeObjects( const int theViewerId )
     if ( !anOwnerObj.IsNull() && anOwnerObj->IsRemoved() )
       module()->removeObjectShape( (size_t)aViewer, anOwnerObj );
   }
+  UpdateColorScale( aViewer );
 }
 
 QString HYDROGUI_OCCDisplayer::GetType() const