Commit a0fcf885 authored by David E. DeMarle's avatar David E. DeMarle
Browse files

Apply a patch to fix eye dome lighting in 5.6.0 parallel runs.

Corresponds to paraview/paraview!3124
parent 6b2a4577
......@@ -256,6 +256,8 @@ endif ()
if (paraview_SOURCE_SELECTION STREQUAL "5.6.0")
superbuild_apply_patch(paraview fix-catalyst-adapter-deps
"Fix issue with catalyst adapters and dependency search")
superbuild_apply_patch(paraview fix-eye-dome-lighting
"Fix eye dome lighting in parallel")
endif ()
if (WIN32 AND las_enabled)
......
diff --git a/ParaViewCore/VTKExtensions/Rendering/vtkIceTCompositePass.cxx b/ParaViewCore/VTKExtensions/Rendering/vtkIceTCompositePass.cxx
index 636e0e8..8cd79f5 100644
--- a/ParaViewCore/VTKExtensions/Rendering/vtkIceTCompositePass.cxx
+++ b/ParaViewCore/VTKExtensions/Rendering/vtkIceTCompositePass.cxx
@@ -960,6 +960,7 @@ void vtkIceTCompositePass::PushIceTDepthBufferToScreen(const vtkRenderState* ren
ostate->vtkglColorMask(GL_FALSE, GL_FALSE, GL_FALSE, GL_FALSE);
GLboolean prevDepthTest = ostate->GetEnumState(GL_DEPTH_TEST);
+ ostate->vtkglEnable(GL_DEPTH_TEST);
GLboolean prevDepthMask;
ostate->vtkglGetBooleanv(GL_DEPTH_WRITEMASK, &prevDepthMask);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment