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

index baebf155a03961e7798b8dbb884dfc6e875d2d08..5e41bf552635dd54e81653c303f01ff56e03a0da 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