Set fixed FOV for the wielded item

This commit is contained in:
Kahrl 2012-02-06 23:12:33 +01:00 committed by Perttu Ahola
parent 1bbfd0b6d2
commit 7d36833bd4

@ -504,7 +504,7 @@ void Camera::drawWieldedTool()
// Draw the wielded node (in a separate scene manager)
scene::ICameraSceneNode* cam = m_wieldmgr->getActiveCamera();
cam->setAspectRatio(m_cameranode->getAspectRatio());
cam->setFOV(m_cameranode->getFOV());
cam->setFOV(72.0*PI/180.0);
cam->setNearValue(0.1);
cam->setFarValue(100);
m_wieldmgr->drawAll();