diff options
Diffstat (limited to 'src/glitem.cpp')
| -rw-r--r-- | src/glitem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glitem.cpp b/src/glitem.cpp index 6e3984c..1d0c5bc 100644 --- a/src/glitem.cpp +++ b/src/glitem.cpp @@ -349,8 +349,8 @@ void GLItem::drawAxes(double length) glDrawArrays(GL_LINES, m_firstAxesPoint, m_lastAxesPoint - m_firstAxesPoint); //Coordinate Axes m_renderer->disableAttributeArrays(); //restore old settings - m_renderer->setColorArrayEnabled(false); - m_renderer->setLightingEnabled(true); + m_renderer->setColorArrayEnabled(m_colorArrayEnabled); + m_renderer->setLightingEnabled(m_lightingEnabled); glLineWidth(lineWidth[0]); } |
