Commit 8c16074d authored by lode_leroy's avatar lode_leroy

fix redraw

git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@12 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent e8ba80d7
...@@ -152,7 +152,7 @@ class SimpleGui(Frame): ...@@ -152,7 +152,7 @@ class SimpleGui(Frame):
self.toolpath = None self.toolpath = None
if self.model: if self.model:
self.scale = 2.0/self.model.maxsize() self.scale = 2.0/self.model.maxsize()
self.ogl.tkRedraw() self.resetView()
def generateToolpath(self): def generateToolpath(self):
radius = float(self.CutterRadius.get()) radius = float(self.CutterRadius.get())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment