Since the function is now typed, it actually checks for this. UM.Application has no function getMachineManager. cura.CuraApplication does.
Contributes to issue CURA-5460.
when the extruder stack changes.
- What happen was that when the extruder model needed to update, the
material model was not updated correctly and so when changing a material, the
node was incorrect.