mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 05:53:59 -06:00
Fetch support extruder instead of the default.
The (main) problem here was that the 'active extruder' was queried for the value, which isn't the same as the support-extruder. CURA-11725
This commit is contained in:
parent
d441130e3b
commit
bc64d8fa4e
4 changed files with 19 additions and 3 deletions
|
@ -34,6 +34,15 @@ RecommendedSettingSection
|
|||
storeIndex: 0
|
||||
}
|
||||
|
||||
UM.SettingPropertyProvider
|
||||
{
|
||||
id: supportExtruderProvider
|
||||
key: "support_extruder_nr"
|
||||
containerStack: Cura.MachineManager.activeMachine
|
||||
watchedProperties: [ "value" ]
|
||||
storeIndex: 0
|
||||
}
|
||||
|
||||
contents: [
|
||||
RecommendedSettingItem
|
||||
{
|
||||
|
@ -47,6 +56,8 @@ RecommendedSettingSection
|
|||
width: parent.width
|
||||
settingName: "support_structure"
|
||||
propertyRemoveUnusedValue: false
|
||||
updateAllExtruders: true
|
||||
defaultExtruderIndex: supportExtruderProvider.properties.value
|
||||
}
|
||||
},
|
||||
RecommendedSettingItem
|
||||
|
@ -75,6 +86,8 @@ RecommendedSettingSection
|
|||
{
|
||||
width: parent.width
|
||||
settingName: "support_type"
|
||||
updateAllExtruders: true
|
||||
defaultExtruderIndex: supportExtruderProvider.properties.value
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue