mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 05:39:42 +00:00
Set node mask on DebugDrawer
Fixes primitive drawing in exteriors/quasiexteriors
This commit is contained in:
parent
f9498e6ea4
commit
0d1da08493
1 changed files with 1 additions and 0 deletions
|
@ -433,6 +433,7 @@ namespace MWRender
|
|||
}
|
||||
|
||||
mDebugDraw = new Debug::DebugDrawer(mResourceSystem->getSceneManager()->getShaderManager());
|
||||
mDebugDraw->setNodeMask(Mask_Debug);
|
||||
sceneRoot->addChild(mDebugDraw);
|
||||
|
||||
mResourceSystem->getSceneManager()->setIncrementalCompileOperation(mViewer->getIncrementalCompileOperation());
|
||||
|
|
Loading…
Reference in a new issue