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 committed by Diego Prado Gesto
parent 97a1aa1a2b
commit f828c135f8
5 changed files with 9 additions and 15 deletions

View file

@ -557,6 +557,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