1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-03 08:49:40 +00:00

Fix selection buffer

This commit is contained in:
scrawl 2013-03-07 21:38:27 +01:00
parent 17e406e58c
commit d696da7677

View file

@ -24,7 +24,8 @@ namespace Render
vp->setBackgroundColour(Ogre::ColourValue(0, 0, 0, 0));
vp->setShadowsEnabled(false);
vp->setMaterialScheme("selectionbuffer");
vp->setVisibilityMask (visibilityFlags);
if (visibilityFlags != 0)
vp->setVisibilityMask (visibilityFlags);
mRenderTarget->setActive(true);
mRenderTarget->setAutoUpdated (false);