Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Utkarsh Ayachit
ParaView-Superbuild
Commits
a0fcf885
Commit
a0fcf885
authored
Mar 20, 2019
by
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
projects/paraview.cmake
View file @
a0fcf885
...
...
@@ -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
)
...
...
projects/patches/paraview-fix-eye-dome-lighting.patch
0 → 100644
View file @
a0fcf885
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);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment