solve() in reshape() instead of init()

This commit is contained in:
Josh Holtrop 2011-09-08 14:25:37 -04:00
parent f9d9d9ebfb
commit 1f98204b4a

View File

@ -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