]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Try. Waiting KW feedback
authorAnthony Geay <anthony.geay@edf.fr>
Mon, 11 Sep 2017 14:17:17 +0000 (16:17 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Mon, 11 Sep 2017 14:17:17 +0000 (16:17 +0200)
src/VTKViewer/VTKViewer_Texture.cxx

index 7b20cd5e167f49139a8eafb3db0d57712d8ab828..c6faba0b19e009aaeccf64bc1e0a7a1333969567 100644 (file)
@@ -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->MapColorScalarsThroughLookupTable ||
+        (this->ColorMode ||
          scalars->GetDataType() != VTK_UNSIGNED_CHAR ))
         {
         dataPtr = this->MapScalarsToColors (scalars);