diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-01-04 22:42:08 -0500 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-01-04 22:42:08 -0500 |
| commit | 1e2c67e13d835c512ab540445aa663d6046d0a54 (patch) | |
| tree | ffa7f6e40c2f60720ed0abf6b877eadae69b8356 /embroider_simulate.py | |
| parent | 7190d98dd4268147207cdc828eff910abdcb125d (diff) | |
simulate bugfix
Diffstat (limited to 'embroider_simulate.py')
| -rw-r--r-- | embroider_simulate.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embroider_simulate.py b/embroider_simulate.py index f3f9e5e2..b7f4e560 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 |
