mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-08 03:28:15 +03:00
Fix broken VisControllers
This commit is contained in:
parent
4957ceeb1d
commit
d486cde330
3 changed files with 7 additions and 5 deletions
|
@ -133,7 +133,8 @@ int main(int argc, char** argv)
|
|||
viewer.setCameraManipulator(new osgGA::TrackballManipulator());
|
||||
viewer.addEventHandler(new WireframeKeyHandler(root));
|
||||
|
||||
//viewer.getCamera()->setCullMask()
|
||||
// Mask to separate cull visitors from update visitors
|
||||
viewer.getCamera()->setCullMask(~(0x1));
|
||||
|
||||
// We're going to change this from the event callback, set the variance to DYNAMIC so that
|
||||
// we don't interfere with the draw thread.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue