@ -28,8 +28,7 @@ namespace SceneUtil
}
osg::ref_ptr<osg::StateSet> stateset = nullptr;
stateset = mStateSetsUpdate[nv->getTraversalNumber() % 2];
osg::ref_ptr<osg::StateSet> stateset = mStateSetsUpdate[nv->getTraversalNumber() % 2];
apply(stateset, nv);
node->setStateSet(stateset);
traverse(node, nv);