diff --git a/src/osgGA/StateSetManipulator.cpp b/src/osgGA/StateSetManipulator.cpp index a126b1284..30b56f900 100644 --- a/src/osgGA/StateSetManipulator.cpp +++ b/src/osgGA/StateSetManipulator.cpp @@ -33,6 +33,13 @@ StateSetManipulator::~StateSetManipulator() void StateSetManipulator::setStateSet(StateSet *stateset) { _stateset = stateset; +#if 0 + // specify that this stateset is dynamic so it prevents + // the draw and update phase from overlapping - good for + // stability but breaks all the performance advantage of + // DrawThreadPerContex. + _stateset->setDataVariance(osg::Object::DYNAMIC); +#endif } StateSet *StateSetManipulator::getStateSet()