From 1cd539bad2724df2815ad6df0ed37e3fa29c1ee2 Mon Sep 17 00:00:00 2001 From: Kyle Cooley Date: Fri, 10 Nov 2017 02:06:06 -0500 Subject: [PATCH] Fix render order for markers --- apps/opencs/view/render/object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/opencs/view/render/object.cpp b/apps/opencs/view/render/object.cpp index a3ecbadeb..c5da094e6 100644 --- a/apps/opencs/view/render/object.cpp +++ b/apps/opencs/view/render/object.cpp @@ -390,7 +390,7 @@ osg::ref_ptr CSVRender::Object::makeRotateMarker (int axis) void CSVRender::Object::setupCommonMarkerState(osg::ref_ptr geometry) { - const int RenderBin = osg::StateSet::TRANSPARENT_BIN - 1; + const int RenderBin = osg::StateSet::TRANSPARENT_BIN; osg::ref_ptr state = geometry->getOrCreateStateSet(); state->setMode(GL_LIGHTING, osg::StateAttribute::OFF);