From a6581409971a8670a5195924feb27fb890d297c5 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Thu, 4 Feb 2016 12:14:59 +0100 Subject: [PATCH] Remove more remnants of print sequence message I found this other place that was helping to display the message that warns that print sequcence is set per-object. Since the latter is no longer possible, this message shouldn't be displayed any more. Contributes to issue CURA-458. --- plugins/PerObjectSettingsTool/PerObjectSettingsTool.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/plugins/PerObjectSettingsTool/PerObjectSettingsTool.py b/plugins/PerObjectSettingsTool/PerObjectSettingsTool.py index 132fb0d2f3..ab248529ea 100644 --- a/plugins/PerObjectSettingsTool/PerObjectSettingsTool.py +++ b/plugins/PerObjectSettingsTool/PerObjectSettingsTool.py @@ -11,7 +11,7 @@ class PerObjectSettingsTool(Tool): def __init__(self): super().__init__() - self.setExposedProperties("Model", "SelectedIndex", "PrintSequence") + self.setExposedProperties("Model", "SelectedIndex") def event(self, event): return False @@ -22,8 +22,4 @@ class PerObjectSettingsTool(Tool): def getSelectedIndex(self): selected_object_id = id(Selection.getSelectedObject(0)) index = self.getModel().find("id", selected_object_id) - return index - - def getPrintSequence(self): - settings = Application.getInstance().getMachineManager().getActiveProfile() - return settings.getSettingValue("print_sequence") \ No newline at end of file + return index \ No newline at end of file