Fix broken VisControllers

This commit is contained in:
scrawl 2015-03-20 21:32:26 +01:00
parent 4957ceeb1d
commit d486cde330
3 changed files with 7 additions and 5 deletions

View file

@ -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.