From 81831e568dc116305da0ebc06b6f81e7e5abd070 Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Fri, 6 Mar 2015 12:09:54 -0500 Subject: [PATCH] Use same quickprint settings for lulzbot_TAZ and lulzbot_TAZ_4 Fixes issue #89 --- Cura/gui/simpleMode.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Cura/gui/simpleMode.py b/Cura/gui/simpleMode.py index 2879020e..903f0af8 100644 --- a/Cura/gui/simpleMode.py +++ b/Cura/gui/simpleMode.py @@ -18,6 +18,14 @@ class simpleModePanel(wx.Panel): self._print_material_options = [] self._print_other_options = [] + # This is a hack around an issue where the machine type in the wizard + # changed and causes some people to have it set to lulzbot_TAZ and some + # people have it set to lulzbot_TAZ_4. + # To avoid duplicating the custom settings overrides, we just change the + # machine_type instead. + if profile.getMachineSetting('machine_type') == 'lulzbot_TAZ': + profile.putMachineSetting('machine_type', 'lulzbot_TAZ_4') + printTypePanel = wx.Panel(self) for filename in resources.getSimpleModeProfiles(): cp = configparser.ConfigParser() -- 2.30.2