mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
Fix selection buffer
This commit is contained in:
parent
17e406e58c
commit
d696da7677
@ -24,7 +24,8 @@ namespace Render
|
|||||||
vp->setBackgroundColour(Ogre::ColourValue(0, 0, 0, 0));
|
vp->setBackgroundColour(Ogre::ColourValue(0, 0, 0, 0));
|
||||||
vp->setShadowsEnabled(false);
|
vp->setShadowsEnabled(false);
|
||||||
vp->setMaterialScheme("selectionbuffer");
|
vp->setMaterialScheme("selectionbuffer");
|
||||||
vp->setVisibilityMask (visibilityFlags);
|
if (visibilityFlags != 0)
|
||||||
|
vp->setVisibilityMask (visibilityFlags);
|
||||||
mRenderTarget->setActive(true);
|
mRenderTarget->setActive(true);
|
||||||
mRenderTarget->setAutoUpdated (false);
|
mRenderTarget->setAutoUpdated (false);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user