Commit 96243e18 authored by kliment's avatar kliment

Fix gcode visualization window caption and highlights

parent 48b981f2
......@@ -2,7 +2,7 @@ import wx,time
class window(wx.Frame):
def __init__(self,f,size=(600,600),bedsize=(200,200)):
wx.Frame.__init__(self,None,title="Slicetest",size=(size[0],size[1]))
wx.Frame.__init__(self,None,title="Layer view (Use arrow keys to switch layers)",size=(size[0],size[1]))
self.p=gviz(self,size=size,bedsize=bedsize)
s=time.time()
for i in f:
......
......@@ -108,7 +108,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
except:
pass
self.gviz.addgcode(line,hilight=1)
self.gwindow.p.addgcode(line,hilight=1)
#self.gwindow.p.addgcode(line,hilight=1)
def do_extrude(self,l=""):
try:
......
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