From: Anthony Geay Date: Mon, 18 Sep 2017 11:56:46 +0000 (+0200) Subject: Rollback montain X-Git-Tag: V8_4_0a2^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fpre%2Fpenta18;p=modules%2Fgui.git Rollback montain --- diff --git a/src/VTKViewer/VTKViewer_Texture.cxx b/src/VTKViewer/VTKViewer_Texture.cxx index c6faba0b1..7b20cd5e1 100644 --- a/src/VTKViewer/VTKViewer_Texture.cxx +++ b/src/VTKViewer/VTKViewer_Texture.cxx @@ -534,7 +534,7 @@ void VTKViewer_Texture::Load(vtkRenderer *ren) // make sure using unsigned char data of color scalars type if (this->IsDepthTexture != 1 && - (this->ColorMode || + (this->MapColorScalarsThroughLookupTable || scalars->GetDataType() != VTK_UNSIGNED_CHAR )) { dataPtr = this->MapScalarsToColors (scalars);