Revert the Camera::setInheritanceMask(0x) calls that were added as workaround to a bug introduced by a bug fix to the way the inhertiance mask was handled in CullVisito::apply(Camera&)

This commit is contained in:
Robert Osfield
2008-03-19 11:41:21 +00:00
parent 027b4b0986
commit 207a0e8610
3 changed files with 0 additions and 8 deletions

View File

@@ -182,8 +182,6 @@ void ShadowMap::init()
// create the camera
_camera = new osg::Camera;
_camera->setInheritanceMask(0x0);
_camera->setReferenceFrame(osg::Camera::ABSOLUTE_RF_INHERIT_VIEWPOINT);
_camera->setCullCallback(new CameraCullCallback(this));
@@ -551,8 +549,6 @@ osg::ref_ptr<osg::Camera> ShadowMap::makeDebugHUD()
osg::ref_ptr<osg::Camera> camera = new osg::Camera;
camera->setInheritanceMask(0x0);
osg::Vec2 size(1280, 1024);
// set the projection matrix
camera->setProjectionMatrix(osg::Matrix::ortho2D(0,size.x(),0,size.y()));