diff --git a/src/ui/map3D/GLOverlayGeode.cc b/src/ui/map3D/GLOverlayGeode.cc index 89cebe8a874798e0081c21e716c245355bca70d0..86cb6f8ed137c959a692a3e5ae362174c6792fc8 100644 --- a/src/ui/map3D/GLOverlayGeode.cc +++ b/src/ui/map3D/GLOverlayGeode.cc @@ -148,9 +148,11 @@ GLOverlayGeode::GLOverlayDrawable::drawImplementation(osg::RenderInfo&) const return; } + glMatrixMode(GL_MODELVIEW); + glDisable(GL_LIGHTING); glPushMatrix(); - glScalef(-1.0f, 1.0f, 1.0f); + glScalef(-1.0f, 1.0f, -1.0f); glRotatef(90.0f, 0.0f, 0.0f, 1.0f); const std::string& data = mOverlay.data(); @@ -401,6 +403,7 @@ GLOverlayGeode::GLOverlayDrawable::drawImplementation(osg::RenderInfo&) const } glPopMatrix(); + glEnable(GL_LIGHTING); } osg::BoundingBox