From 1e2c67e13d835c512ab540445aa663d6046d0a54 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Thu, 4 Jan 2018 22:42:08 -0500 Subject: [PATCH] simulate bugfix --- embroider_simulate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/embroider_simulate.py b/embroider_simulate.py index f3f9e5e2d..b7f4e5605 100644 --- a/embroider_simulate.py +++ b/embroider_simulate.py @@ -151,7 +151,7 @@ class EmbroiderySimulator(wx.Frame): segments = [] pos = (0, 0) - pen = wx.Brush('black') + pen = wx.Pen('black') cut = True with open(stitch_file_path) as stitch_file: @@ -163,7 +163,7 @@ class EmbroiderySimulator(wx.Frame): if symbol == "$": red, green, blue = fields[2:5] - color = color_to_pen((int(red), int(green), int(blue))) + color = self.color_to_pen((int(red), int(green), int(blue))) elif symbol == "*": if command == "COLOR": # change color