formatting error

pull/615/head
madsbuvi 4 years ago
parent 5f0aae0523
commit a67b512863

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

Loading…
Cancel
Save