From: isn Date: Thu, 14 Dec 2017 15:35:52 +0000 (+0300) Subject: refs #1501 p.2 X-Git-Tag: v2.1.1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3b378b8d94f684bebe588c55d2c4d5574668b8e0;p=modules%2Fhydro.git refs #1501 p.2 --- 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 )