]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
First try of porting to PV 81f25a55900a33f3cf46dfae349e3e4d6c0a8df4
authorAnthony Geay <anthony.geay@edf.fr>
Mon, 11 Dec 2017 14:28:04 +0000 (15:28 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Mon, 11 Dec 2017 14:28:04 +0000 (15:28 +0100)
src/SVTK/SVTK_Recorder.cxx
src/VTKViewer/VTKViewer_Texture.cxx

index c75e35d7898e3aa996123358d8d10b5912381ae2..11cce2b5b75d5d31bd479e3eb7f0bed850a69b86 100755 (executable)
@@ -396,7 +396,7 @@ SVTK_Recorder
     return;
   }
   myFilter->UpdateInformation();
-  myFilter->SetUpdateExtentToWholeExtent();
+  //myFilter->SetUpdateExtentToWholeExtent();
   myFilter->Update();
 }
 
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);