mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-09 01:29:01 +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
|
settingControl: Cura.SingleSettingComboBox
|
||||||
{
|
{
|
||||||
|
id:support
|
||||||
width: parent.width
|
width: parent.width
|
||||||
settingName: "support_structure"
|
settingName: "support_structure"
|
||||||
|
propertyRemoveUnusedValue: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
RecommendedSettingItem
|
RecommendedSettingItem
|
||||||
@ -60,6 +62,7 @@ RecommendedSettingSection
|
|||||||
settingControl: Cura.SingleSettingExtruderSelectorBar
|
settingControl: Cura.SingleSettingExtruderSelectorBar
|
||||||
{
|
{
|
||||||
extruderSettingName: "support_extruder_nr"
|
extruderSettingName: "support_extruder_nr"
|
||||||
|
onSelectedIndexChanged: support.forceUpdateSettings()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
RecommendedSettingItem
|
RecommendedSettingItem
|
||||||
|
@ -15,6 +15,7 @@ import Cura 1.7 as Cura
|
|||||||
Cura.ComboBox {
|
Cura.ComboBox {
|
||||||
textRole: "text"
|
textRole: "text"
|
||||||
property alias settingName: propertyProvider.key
|
property alias settingName: propertyProvider.key
|
||||||
|
property alias propertyRemoveUnusedValue: propertyProvider.removeUnusedValue
|
||||||
|
|
||||||
// If true, all extruders will have "settingName" property updated.
|
// 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.
|
// 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)
|
function updateSetting(value)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user