CURA-5249 replaced the extruder value of -1 by the more explicit defaultExtruderPosition, so now Cura is aware of the actual extruder position being used. Fixes linked icon next to support settings, like support_angle.

This commit is contained in:
Jack Ha 2018-06-06 11:00:09 +02:00
parent 70d78f3cab
commit 17b127e8c1
5 changed files with 9 additions and 15 deletions

View file

@ -540,6 +540,11 @@ class ExtruderManager(QObject):
return result
## Return the default extruder position from the machine manager
@staticmethod
def getDefaultExtruderPosition() -> str:
return Application.getInstance().getMachineManager().defaultExtruderPosition
## Get all extruder values for a certain setting.
#
# This is exposed to qml for display purposes