From: Anthony Geay Date: Mon, 11 Dec 2017 14:28:04 +0000 (+0100) Subject: First try of porting to PV 81f25a55900a33f3cf46dfae349e3e4d6c0a8df4 X-Git-Tag: V9_0_0^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9952c8ed69cf4d1c8aa82ec1b4f3dc1970f5788e;p=modules%2Fgui.git First try of porting to PV 81f25a55900a33f3cf46dfae349e3e4d6c0a8df4 --- diff --git a/src/SVTK/SVTK_Recorder.cxx b/src/SVTK/SVTK_Recorder.cxx index c75e35d78..11cce2b5b 100755 --- a/src/SVTK/SVTK_Recorder.cxx +++ b/src/SVTK/SVTK_Recorder.cxx @@ -396,7 +396,7 @@ SVTK_Recorder return; } myFilter->UpdateInformation(); - myFilter->SetUpdateExtentToWholeExtent(); + //myFilter->SetUpdateExtentToWholeExtent(); myFilter->Update(); } diff --git a/src/VTKViewer/VTKViewer_Texture.cxx b/src/VTKViewer/VTKViewer_Texture.cxx index 7b20cd5e1..c6faba0b1 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->MapColorScalarsThroughLookupTable || + (this->ColorMode || scalars->GetDataType() != VTK_UNSIGNED_CHAR )) { dataPtr = this->MapScalarsToColors (scalars);