chiark / gitweb /
Large update to the config wizard, new style machine check (unfinished)
[cura.git] / Cura / gui / preview3d.py
index ac7668c845b3376357d565dfd4f1dcaa966536fa..229c520b166e07cd80eccd8457c0a5e473f5f2fd 100644 (file)
@@ -428,6 +428,7 @@ class PreviewGLCanvas(glcanvas.GLCanvas):
                self.objColor[3] = profile.getPreferenceColour('model_colour3')\r
 \r
        def OnMouseMotion(self,e):\r
+               cursorXY = 100000\r
                if self.parent.objectsMaxV != None:\r
                        size = (self.parent.objectsMaxV - self.parent.objectsMinV)\r
                        sizeXY = math.sqrt((size[0] * size[0]) + (size[1] * size[1]))\r