]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
refs #1501 p.2
authorisn <isn@opencascade.com>
Thu, 14 Dec 2017 15:35:52 +0000 (18:35 +0300)
committerisn <isn@opencascade.com>
Thu, 14 Dec 2017 15:35:52 +0000 (18:35 +0300)
src/HYDROGUI/HYDROGUI_ShapeLandCoverMap.cxx

index 66e56301c5ae14eaaaacca2fab8a15bd25b1940e..e39176837ff9eafe6dfcc0aa7fda278c02627eb8 100644 (file)
@@ -46,6 +46,10 @@ HYDROGUI_ShapeLandCoverMap::HYDROGUI_ShapeLandCoverMap( HYDROGUI_OCCDisplayer* t
 
 HYDROGUI_ShapeLandCoverMap::~HYDROGUI_ShapeLandCoverMap()
 {
+#ifndef LIGHT_MODE
+  if( myDisplayer )
+    myDisplayer->SetToUpdateColorScale();
+#endif
 }
 
 void HYDROGUI_ShapeLandCoverMap::update( bool theIsUpdateViewer, bool isDeactivateSelection )