Reverted to LODScale keyboard adjustment
This commit is contained in:
parent
e1f4026cf5
commit
6191c7358d
@ -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 '/' :
|
||||||
|
Loading…
Reference in New Issue
Block a user