From cc9f4f8318b8f728f0a70d793212f7f05fb0c46d Mon Sep 17 00:00:00 2001 From: daid303 Date: Mon, 25 Mar 2013 10:21:20 +0100 Subject: [PATCH] Split the scene logic into another file, so we can add auto-placement there without making a huge mess of the gui code. --- Cura/gui/sceneView.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Cura/gui/sceneView.py b/Cura/gui/sceneView.py index 22e14422..1ae0c08a 100644 --- a/Cura/gui/sceneView.py +++ b/Cura/gui/sceneView.py @@ -261,7 +261,6 @@ void main(void) #f = glReadPixels(self._mouseX, self.GetSize().GetHeight() - 1 - self._mouseY, 1, 1, GL_DEPTH_COMPONENT, GL_FLOAT)[0][0] #mouse3Dpos = opengl.unproject(self._mouseX, self.viewport[1] + self.viewport[3] - self._mouseY, f, self.modelMatrix, self.projMatrix, self.viewport) - return self._init3DView() glTranslate(0,0,-self._zoom) glRotate(-self._pitch, 1,0,0) -- 2.30.2