Fixed inheritance check for copying clear colour to slave cameras
This commit is contained in:
parent
416e6486f7
commit
ffda14c669
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user