Commit 96243e18 authored by kliment's avatar kliment

Fix gcode visualization window caption and highlights

parent 48b981f2
...@@ -2,7 +2,7 @@ import wx,time ...@@ -2,7 +2,7 @@ import wx,time
class window(wx.Frame): class window(wx.Frame):
def __init__(self,f,size=(600,600),bedsize=(200,200)): 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) self.p=gviz(self,size=size,bedsize=bedsize)
s=time.time() s=time.time()
for i in f: for i in f:
......
...@@ -108,7 +108,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole): ...@@ -108,7 +108,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
except: except:
pass pass
self.gviz.addgcode(line,hilight=1) 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=""): def do_extrude(self,l=""):
try: 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