Removed #if 0 #endif block

This commit is contained in:
Robert Osfield
2013-07-19 10:11:42 +00:00
parent e7b86099d1
commit a1bda7d39e

View File

@@ -79,16 +79,6 @@ public:
traits->samples = ds->getNumMultiSamples();
return new osgQt::GraphicsWindowQt(traits.get());
#if 0
osg::ref_ptr<osg::Camera> camera = new osg::Camera;
camera->setGraphicsContext( ) );
camera->setClearColor( osg::Vec4(0.2, 0.2, 0.6, 1.0) );
camera->setViewport( new osg::Viewport(0, 0, traits->width, traits->height) );
camera->setProjectionMatrixAsPerspective(
30.0f, static_cast<double>(traits->width)/static_cast<double>(traits->height), 1.0f, 10000.0f );
return camera.release();
#endif
}
virtual void paintEvent( QPaintEvent* event )