Commit fb2fce6c authored by Guillaume Seguin's avatar Guillaume Seguin

Default to showing all layers in excluder

parent dcc5f023
...@@ -107,8 +107,7 @@ class Excluder(object): ...@@ -107,8 +107,7 @@ class Excluder(object):
def pop_window(self, gcode, *args, **kwargs): def pop_window(self, gcode, *args, **kwargs):
if not self.window: if not self.window:
self.window = ExcluderWindow(self, *args, **kwargs) self.window = ExcluderWindow(self, *args, **kwargs)
self.window.p.addfile(gcode) self.window.p.addfile(gcode, True)
self.window.p.layerup()
self.window.Bind(wx.EVT_CLOSE, self.close_window) self.window.Bind(wx.EVT_CLOSE, self.close_window)
self.window.Show() self.window.Show()
else: else:
......
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