solve() in reshape() instead of init()
This commit is contained in:
1 parent
f9d9d9ebfb
commit
1f98204b4a
1 file changed
+1
-2
+1
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user