Added support for View::setFustionDistance(..)

This commit is contained in:
Robert Osfield
2007-05-17 19:58:57 +00:00
parent 851df77673
commit cf9518f346
5 changed files with 48 additions and 13 deletions

View File

@@ -20,7 +20,9 @@
using namespace osgViewer;
View::View()
View::View():
_fusionDistanceMode(osgUtil::SceneView::PROPORTIONAL_TO_SCREEN_DISTANCE),
_fusionDistanceValue(1.0f)
{
// osg::notify(osg::NOTICE)<<"Constructing osgViewer::View"<<std::endl;
@@ -33,7 +35,9 @@ View::View()
View::View(const osgViewer::View& view, const osg::CopyOp& copyop):
osg::View(view,copyop),
osgGA::GUIActionAdapter()
osgGA::GUIActionAdapter(),
_fusionDistanceMode(view._fusionDistanceMode),
_fusionDistanceValue(view._fusionDistanceValue)
{
}