Gui: fix SoDatumLabel arrow disappear

This commit is contained in:
Florian Foinant-Willig
2024-05-16 13:35:50 +02:00
committed by Chris Hennes
parent 3e3c9d36b1
commit 42a660a893

View File

@@ -997,6 +997,7 @@ void SoDatumLabel::GLRender(SoGLRenderAction * action)
//Set General OpenGL Properties
glPushAttrib(GL_ENABLE_BIT | GL_PIXEL_MODE_BIT | GL_COLOR_BUFFER_BIT);
glDisable(GL_LIGHTING);
glDisable(GL_CULL_FACE);
//Enable Anti-alias
if (action->isSmoothing()) {