From 76f23c28b1c6e572a9fe8b1fc2446bb818dcd9dc Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Mon, 26 Feb 2018 16:25:44 +0000 Subject: [PATCH] Make shadows disableable. --- components/sceneutil/mwshadowtechnique.cpp | 14 ++++++++++++-- components/sceneutil/mwshadowtechnique.hpp | 6 ++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/components/sceneutil/mwshadowtechnique.cpp b/components/sceneutil/mwshadowtechnique.cpp index 1b390e33b3..23ff2e7a98 100644 --- a/components/sceneutil/mwshadowtechnique.cpp +++ b/components/sceneutil/mwshadowtechnique.cpp @@ -745,6 +745,16 @@ void MWShadowTechnique::cleanSceneGraph() OSG_INFO<<"MWShadowTechnique::cleanSceneGraph()"<osg::Group::traverse(cv); return; - }*/ + } OSG_INFO< _program; + + bool _enableShadows; }; }