diff --git a/src/ViewportWidget.cpp b/src/ViewportWidget.cpp index 0766b92..5010984 100644 --- a/src/ViewportWidget.cpp +++ b/src/ViewportWidget.cpp @@ -148,6 +148,9 @@ void ViewportWidget::paintGL() glViewport(0, 0, width(), height()); + glDisable(GL_DEPTH_TEST); + glDisable(GL_CULL_FACE); + QPainter painter(this); if (m_currentPlane != SketchPlane::NONE) { drawAxisLabels(painter, model, projection);