From: daid Date: Mon, 17 Jun 2013 07:44:52 +0000 (+0200) Subject: Show why overhang view is not working. X-Git-Tag: 13.06.2~5 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=6e9b97e6359f539ba7602329b8b79d5476c392f3;p=cura.git Show why overhang view is not working. --- diff --git a/Cura/gui/sceneView.py b/Cura/gui/sceneView.py index 6eb8fc54..a9f32f46 100644 --- a/Cura/gui/sceneView.py +++ b/Cura/gui/sceneView.py @@ -1063,6 +1063,14 @@ void main(void) glTranslate(pos[0], pos[1], pos[2]) self.tool.OnDraw() glPopMatrix() + if self.viewMode == 'overhang' and not opengl.hasShaderSupport(): + glDisable(GL_DEPTH_TEST) + glPushMatrix() + glLoadIdentity() + glTranslate(0,-4,-10) + glColor4ub(60,60,60,255) + opengl.glDrawStringCenter('Overhang view not working due to lack of OpenGL shaders support.') + glPopMatrix() def _renderObject(self, obj, brightness = False, addSink = True): glPushMatrix()