From 1f98204b4a46ee1928f1232ae66668307f693f0a Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Thu, 8 Sep 2011 14:25:37 -0400 Subject: [PATCH] solve() in reshape() instead of init() --- SketchWidget.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SketchWidget.py b/SketchWidget.py index 38b9464..f71e08c 100644 --- a/SketchWidget.py +++ b/SketchWidget.py @@ -90,8 +90,6 @@ class SketchWidget: gldrawable.gl_end() - self.solve() - def reshape(self, glarea, event): # get GLContext and GLDrawable glcontext = glarea.get_gl_context() @@ -113,6 +111,7 @@ class SketchWidget: gldrawable.gl_end() + self.solve() self.update_snap_ptrefs() return True