Fix character preview zNear/zFar not being autocomputed as intended (Bug #3955)

0.6.1
scrawl 8 years ago
parent 5c11266a46
commit 9bc24ab629

@ -133,6 +133,7 @@ namespace MWRender
mCamera->setRenderOrder(osg::Camera::PRE_RENDER);
mCamera->attach(osg::Camera::COLOR_BUFFER, mTexture);
mCamera->setName("CharacterPreview");
mCamera->setComputeNearFarMode(osg::Camera::COMPUTE_NEAR_FAR_USING_BOUNDING_VOLUMES);
mCamera->setNodeMask(Mask_RenderToTexture);

Loading…
Cancel
Save