mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
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.
This commit is contained in:
parent
44872ade43
commit
a658140997
1 changed files with 2 additions and 6 deletions
|
@ -11,7 +11,7 @@ class PerObjectSettingsTool(Tool):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
|
||||||
self.setExposedProperties("Model", "SelectedIndex", "PrintSequence")
|
self.setExposedProperties("Model", "SelectedIndex")
|
||||||
|
|
||||||
def event(self, event):
|
def event(self, event):
|
||||||
return False
|
return False
|
||||||
|
@ -23,7 +23,3 @@ class PerObjectSettingsTool(Tool):
|
||||||
selected_object_id = id(Selection.getSelectedObject(0))
|
selected_object_id = id(Selection.getSelectedObject(0))
|
||||||
index = self.getModel().find("id", selected_object_id)
|
index = self.getModel().find("id", selected_object_id)
|
||||||
return index
|
return index
|
||||||
|
|
||||||
def getPrintSequence(self):
|
|
||||||
settings = Application.getInstance().getMachineManager().getActiveProfile()
|
|
||||||
return settings.getSettingValue("print_sequence")
|
|
Loading…
Add table
Add a link
Reference in a new issue