1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 06:53:52 +00:00

formatting error

This commit is contained in:
madsbuvi 2021-01-25 19:59:34 +01:00
parent 5f0aae0523
commit a67b512863

View file

@ -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);