From: rnv Date: Tue, 23 Jun 2020 15:45:53 +0000 (+0300) Subject: Add patch for paraview: #18427 [CEA 18409] "Resample to image" - ParaView crash X-Git-Tag: V9_6_0a1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9a5afb20ec3d7db9252f814c4e058dcbc9cdc346;p=tools%2Fconfiguration.git Add patch for paraview: #18427 [CEA 18409] "Resample to image" - ParaView crash --- diff --git a/config/patches/paraview.0009-ParaView_volume_mapper.patch b/config/patches/paraview.0009-ParaView_volume_mapper.patch new file mode 100644 index 0000000..2b424ee --- /dev/null +++ b/config/patches/paraview.0009-ParaView_volume_mapper.patch @@ -0,0 +1,11 @@ +--- ParaView_origin/VTK/Rendering/VolumeOpenGL2/vtkOpenGLGPUVolumeRayCastMapper.cxx 2020-06-18 14:59:43.630941741 +0200 ++++ ParaView/VTK/Rendering/VolumeOpenGL2/vtkOpenGLGPUVolumeRayCastMapper.cxx 2020-06-18 15:00:57.582622827 +0200 +@@ -2822,7 +2822,7 @@ + this->VolumePropertyChanged |= property->GetMTime() > this->ShaderBuildTime.GetMTime(); + + auto it = this->Parent->AssembledInputs.find(port); +- if (it == this->Parent->AssembledInputs.cend()) ++ if (it == this->Parent->AssembledInputs.cend() || it->second.Volume != vol) + { + // Create new input structure + auto texture = vtkSmartPointer::New(); diff --git a/config/salome.xml b/config/salome.xml index 6b39097..7d784e0 100644 --- a/config/salome.xml +++ b/config/salome.xml @@ -89,6 +89,7 @@ +