Salome HOME
topo2vol: use CEA repository
[tools/sat_salome.git] / products / patches / paraview.0009-ParaView_volume_mapper.patch
1 --- ParaView_origin/VTK/Rendering/VolumeOpenGL2/vtkOpenGLGPUVolumeRayCastMapper.cxx     2020-06-18 14:59:43.630941741 +0200
2 +++ ParaView/VTK/Rendering/VolumeOpenGL2/vtkOpenGLGPUVolumeRayCastMapper.cxx    2020-06-18 15:00:57.582622827 +0200
3 @@ -2822,7 +2822,7 @@
4      this->VolumePropertyChanged |= property->GetMTime() > this->ShaderBuildTime.GetMTime();
5  
6      auto it = this->Parent->AssembledInputs.find(port);
7 -    if (it == this->Parent->AssembledInputs.cend())
8 +    if (it == this->Parent->AssembledInputs.cend() || it->second.Volume != vol)
9      {
10        // Create new input structure
11        auto texture = vtkSmartPointer<vtkVolumeTexture>::New();