Reverted to LODScale keyboard adjustment

This commit is contained in:
Robert Osfield 2006-07-19 15:20:47 +00:00
parent e1f4026cf5
commit 6191c7358d

View File

@ -1091,7 +1091,8 @@ bool ViewerEventHandler::handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActio
setWriteImageOnNextFrame(true); setWriteImageOnNextFrame(true);
return true; return true;
} }
#if 1 #if 0
// Adjust osg::PolygonOffset
case '+' : case '+' :
{ {
osg::PolygonOffset::setFactorMultiplier(osg::PolygonOffset::getFactorMultiplier()*1.1f); osg::PolygonOffset::setFactorMultiplier(osg::PolygonOffset::getFactorMultiplier()*1.1f);
@ -1118,16 +1119,7 @@ bool ViewerEventHandler::handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActio
return true; return true;
} }
#else #else
case '+' : // Adjust osg::LODScale
{
//_camera->setFusionDistanceRatio(_camera->getFusionDistanceRatio()*1.25f);
return true;
}
case '-' :
{
//_camera->setFusionDistanceRatio(_camera->getFusionDistanceRatio()/1.25f);
return true;
}
case '*' : case '*' :
case '/' : case '/' :