1
0
Fork 0
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:
Alexei Kotov 2024-02-09 20:47:08 +03:00
parent f9498e6ea4
commit 0d1da08493

View file

@ -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());