mirror of
https://github.com/OpenFOAM/ThirdParty-6.git
synced 2025-12-08 06:57:43 +00:00
ParaViewFunctions: Remove warning message in ParaView when built with OpenGL back-end
Patch contributed by Bruno Santos Resolves patch request https://bugs.openfoam.org/view.php?id=2779
This commit is contained in:
@ -413,7 +413,12 @@ configRenderingBackend()
|
|||||||
# Choose the rendering engine
|
# Choose the rendering engine
|
||||||
if [ -n "${RENDERING_BACKEND}" ]
|
if [ -n "${RENDERING_BACKEND}" ]
|
||||||
then
|
then
|
||||||
addCMakeVariable "VTK_RENDERING_BACKEND=$RENDERING_BACKEND"
|
addCMakeVariable "VTK_RENDERING_BACKEND=${RENDERING_BACKEND}"
|
||||||
|
|
||||||
|
if [ "${RENDERING_BACKEND}" = "OpenGL" ]
|
||||||
|
then
|
||||||
|
addCMakeVariable "VTK_LEGACY_SILENT=ON"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
usage "*** Error: No rendering backend is defined"
|
usage "*** Error: No rendering backend is defined"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user