From 9d9025a6b41d7638fd27ff46cac14ee4286636c3 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 15 Aug 2016 12:13:07 +0100 Subject: [PATCH] Changed the default paramter for the osgUtil::StateToCompile to retain the OSG-3.4 ABI and fixed indentation. --- include/osgUtil/IncrementalCompileOperation | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/osgUtil/IncrementalCompileOperation b/include/osgUtil/IncrementalCompileOperation index 76f51dbb8..9a753b7e0 100644 --- a/include/osgUtil/IncrementalCompileOperation +++ b/include/osgUtil/IncrementalCompileOperation @@ -24,7 +24,7 @@ class OSGUTIL_EXPORT StateToCompile : public osg::NodeVisitor { public: - StateToCompile(GLObjectsVisitor::Mode mode, osg::Object* markerObject); + StateToCompile(GLObjectsVisitor::Mode mode, osg::Object* markerObject=0); typedef std::set DrawableSet; typedef std::set StateSetSet; @@ -266,7 +266,7 @@ class OSGUTIL_EXPORT IncrementalCompileOperation : public osg::GraphicsOperation typedef std::map CompileMap; CompileMap _compileMap; - osg::ref_ptr _markerObject; + osg::ref_ptr _markerObject; protected: