mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-10 07:09:02 +08: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
@ -47,7 +47,7 @@ class PerObjectSettingsTool(Tool):
|
||||
# \return The active extruder of the currently selected object.
|
||||
def getSelectedActiveExtruder(self):
|
||||
selected_object = Selection.getSelectedObject(0)
|
||||
selected_object.callDecoration("getActiveExtruder")
|
||||
return selected_object.callDecoration("getActiveExtruder")
|
||||
|
||||
## Changes the active extruder of the currently selected object.
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user