X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_ShapeLandCoverMap.cxx;h=0a6b59abe3394840719ac12413ed4943f8e4c2c0;hb=fcf6bb94aa4bb389b1e4b2150d631048ef89e1ad;hp=450a195e7525a4e0e580cdede2acfca2d3d4757f;hpb=f3535c63440d6ca7b7662d92ce6af3526560d56b;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ShapeLandCoverMap.cxx b/src/HYDROGUI/HYDROGUI_ShapeLandCoverMap.cxx index 450a195e..0a6b59ab 100644 --- a/src/HYDROGUI/HYDROGUI_ShapeLandCoverMap.cxx +++ b/src/HYDROGUI/HYDROGUI_ShapeLandCoverMap.cxx @@ -41,6 +41,7 @@ HYDROGUI_ShapeLandCoverMap::HYDROGUI_ShapeLandCoverMap( HYDROGUI_OCCDisplayer* t myDisplayer( theDisplayer ), myIsScalarMapMode( theIsScalarMode ) { + setFillingColor( QColor(), false, false ); } HYDROGUI_ShapeLandCoverMap::~HYDROGUI_ShapeLandCoverMap() @@ -66,6 +67,11 @@ void HYDROGUI_ShapeLandCoverMap::update( bool theIsUpdateViewer, bool isDeactiva HYDROGUI_Shape::update( theIsUpdateViewer, isDeactivateSelection ); } +bool HYDROGUI_ShapeLandCoverMap::isScalarMapModeEnabled() const +{ + return myIsScalarMapMode; +} + void HYDROGUI_ShapeLandCoverMap::setScalarMapModeEnabled( const bool theIsToEnable ) { myIsScalarMapMode = theIsToEnable;