From: Kahrl Date: Mon, 6 Feb 2012 22:12:33 +0000 (+0100) Subject: Set fixed FOV for the wielded item X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=7d36833bd432f6912241093f4244037ea041b700;p=zefram%2Fminetest%2Fminetest_engine.git Set fixed FOV for the wielded item --- diff --git a/src/camera.cpp b/src/camera.cpp index 041dd9de..b9e1273c 100644 --- a/src/camera.cpp +++ b/src/camera.cpp @@ -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();