1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 20:15:35 +00:00

Fix render order for markers

This commit is contained in:
Kyle Cooley 2017-11-10 02:06:06 -05:00
parent 556117f6e6
commit 1cd539bad2

View file

@ -390,7 +390,7 @@ osg::ref_ptr<osg::Node> CSVRender::Object::makeRotateMarker (int axis)
void CSVRender::Object::setupCommonMarkerState(osg::ref_ptr<osg::Geometry> geometry)
{
const int RenderBin = osg::StateSet::TRANSPARENT_BIN - 1;
const int RenderBin = osg::StateSet::TRANSPARENT_BIN;
osg::ref_ptr<osg::StateSet> state = geometry->getOrCreateStateSet();
state->setMode(GL_LIGHTING, osg::StateAttribute::OFF);