From: Steven Abadie Date: Wed, 29 Oct 2014 03:35:51 +0000 (-0600) Subject: Removed stats submission X-Git-Tag: 14.09-1.18~80 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=40bbd33477ec20734b251626e14feb38f6caaaf0;p=cura.git Removed stats submission CLose #26 --- diff --git a/Cura/gui/configWizard.py b/Cura/gui/configWizard.py index f751141c..0dd01726 100644 --- a/Cura/gui/configWizard.py +++ b/Cura/gui/configWizard.py @@ -400,12 +400,12 @@ class MachineSelectPage(InfoPage): self.PrintrbotRadio.Bind(wx.EVT_RADIOBUTTON, self.OnPrintrbotSelect) self.OtherRadio = self.AddRadioButton(_("Other (Ex: RepRap, MakerBot, Witbox)")) self.OtherRadio.Bind(wx.EVT_RADIOBUTTON, self.OnOtherSelect) - self.AddSeperator() - self.AddText(_("The collection of anonymous usage information helps with the continued improvement of Cura.")) - self.AddText(_("This does NOT submit your models online nor gathers any privacy related information.")) - self.SubmitUserStats = self.AddCheckbox(_("Submit anonymous usage information:")) - self.AddText(_("For full details see: http://wiki.ultimaker.com/Cura:stats")) - self.SubmitUserStats.SetValue(False) + #self.AddSeperator() + #self.AddText(_("The collection of anonymous usage information helps with the continued improvement of Cura.")) + #self.AddText(_("This does NOT submit your models online nor gathers any privacy related information.")) + #self.SubmitUserStats = self.AddCheckbox(_("Submit anonymous usage information:")) + #self.AddText(_("For full details see: http://wiki.ultimaker.com/Cura:stats")) + #self.SubmitUserStats.SetValue(False) def OnUltimaker2Select(self, e): wx.wizard.WizardPageSimple.Chain(self, self.GetParent().ultimaker2ReadyPage) @@ -516,10 +516,10 @@ class MachineSelectPage(InfoPage): profile.putProfileSetting('nozzle_size', '0.5') profile.checkAndUpdateMachineName() profile.putProfileSetting('wall_thickness', float(profile.getProfileSetting('nozzle_size')) * 2) - if self.SubmitUserStats.GetValue(): - profile.putPreference('submit_slice_information', 'True') - else: - profile.putPreference('submit_slice_information', 'False') + #if self.SubmitUserStats.GetValue(): + # profile.putPreference('submit_slice_information', 'True') + #else: + # profile.putPreference('submit_slice_information', 'False') class SelectParts(InfoPage): diff --git a/Cura/gui/preferencesDialog.py b/Cura/gui/preferencesDialog.py index fccc2160..54bde5a4 100644 --- a/Cura/gui/preferencesDialog.py +++ b/Cura/gui/preferencesDialog.py @@ -50,7 +50,7 @@ class preferencesDialog(wx.Dialog): configBase.TitleRow(right, _("Cura settings")) configBase.SettingRow(right, 'auto_detect_sd') configBase.SettingRow(right, 'check_for_updates') - configBase.SettingRow(right, 'submit_slice_information') + #configBase.SettingRow(right, 'submit_slice_information') self.okButton = wx.Button(right, -1, 'Ok') right.GetSizer().Add(self.okButton, (right.GetSizer().GetRows(), 0), flag=wx.BOTTOM, border=5) diff --git a/Cura/util/sliceEngine.py b/Cura/util/sliceEngine.py index e6f8b161..9759720c 100644 --- a/Cura/util/sliceEngine.py +++ b/Cura/util/sliceEngine.py @@ -142,7 +142,7 @@ class EngineResult(object): time.sleep(0.1) return self._gcodeLoadCallback(self, progress) - def submitInfoOnline(self): + '''def submitInfoOnline(self): if profile.getPreference('submit_slice_information') != 'True': return if version.isDevVersion(): @@ -162,7 +162,7 @@ class EngineResult(object): f.close() except: import traceback - traceback.print_exc() + traceback.print_exc()''' class Engine(object): """