From ffda14c669775223f3186d957c598617455ae533 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 20 Feb 2007 20:56:03 +0000 Subject: [PATCH] Fixed inheritance check for copying clear colour to slave cameras --- src/osg/View.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osg/View.cpp b/src/osg/View.cpp index e5c4951ae..6bedbb40f 100644 --- a/src/osg/View.cpp +++ b/src/osg/View.cpp @@ -83,7 +83,7 @@ void View::updateSlave(unsigned int i) } slave._camera->inheritCullSettings(*_camera); - if (_camera->getInheritanceMask() & osg::CullSettings::CLEAR_COLOR) slave._camera->setClearColor(_camera->getClearColor()); + if (slave._camera->getInheritanceMask() & osg::CullSettings::CLEAR_COLOR) slave._camera->setClearColor(_camera->getClearColor()); } bool View::addSlave(osg::Camera* camera, const osg::Matrix& projectionOffset, const osg::Matrix& viewOffset)