mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Make getSelectedActiveExtruder return its misbegotten gains
It was getting a value from the decorator, then keeping it to itself all greedy like. It must return what it found. Contributes to issue CURA-340.
This commit is contained in:
parent
204bf4d7dd
commit
d89c9d8827
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class PerObjectSettingsTool(Tool):
|
||||||
# \return The active extruder of the currently selected object.
|
# \return The active extruder of the currently selected object.
|
||||||
def getSelectedActiveExtruder(self):
|
def getSelectedActiveExtruder(self):
|
||||||
selected_object = Selection.getSelectedObject(0)
|
selected_object = Selection.getSelectedObject(0)
|
||||||
selected_object.callDecoration("getActiveExtruder")
|
return selected_object.callDecoration("getActiveExtruder")
|
||||||
|
|
||||||
## Changes the active extruder of the currently selected object.
|
## Changes the active extruder of the currently selected object.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue