From cf931a8000d1843ac95a937aa5903523ff066cf1 Mon Sep 17 00:00:00 2001 From: isn Date: Thu, 14 Dec 2017 18:35:52 +0300 Subject: [PATCH] refs #1501 p.2 --- src/HYDROGUI/HYDROGUI_ShapeLandCoverMap.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/HYDROGUI/HYDROGUI_ShapeLandCoverMap.cxx b/src/HYDROGUI/HYDROGUI_ShapeLandCoverMap.cxx index 66e56301..e3917683 100644 --- a/src/HYDROGUI/HYDROGUI_ShapeLandCoverMap.cxx +++ b/src/HYDROGUI/HYDROGUI_ShapeLandCoverMap.cxx @@ -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 ) -- 2.39.2