mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-08 20:39:00 +08:00
Merge pull request #16845 from Ultimaker/CURA-10967_support-type-with-support-material
CURA-10967
This commit is contained in:
commit
8ea04f018b
@ -43,8 +43,10 @@ RecommendedSettingSection
|
||||
|
||||
settingControl: Cura.SingleSettingComboBox
|
||||
{
|
||||
id:support
|
||||
width: parent.width
|
||||
settingName: "support_structure"
|
||||
propertyRemoveUnusedValue: false
|
||||
}
|
||||
},
|
||||
RecommendedSettingItem
|
||||
@ -60,6 +62,7 @@ RecommendedSettingSection
|
||||
settingControl: Cura.SingleSettingExtruderSelectorBar
|
||||
{
|
||||
extruderSettingName: "support_extruder_nr"
|
||||
onSelectedIndexChanged: support.forceUpdateSettings()
|
||||
}
|
||||
},
|
||||
RecommendedSettingItem
|
||||
|
@ -15,6 +15,7 @@ import Cura 1.7 as Cura
|
||||
Cura.ComboBox {
|
||||
textRole: "text"
|
||||
property alias settingName: propertyProvider.key
|
||||
property alias propertyRemoveUnusedValue: propertyProvider.removeUnusedValue
|
||||
|
||||
// If true, all extruders will have "settingName" property updated.
|
||||
// The displayed value will be read from the extruder with index "defaultExtruderIndex" instead of the machine.
|
||||
@ -87,6 +88,10 @@ Cura.ComboBox {
|
||||
}
|
||||
|
||||
}
|
||||
function forceUpdateSettings()
|
||||
{
|
||||
comboboxModel.updateModel();
|
||||
}
|
||||
|
||||
function updateSetting(value)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user