mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 05:03:15 +08:00
Filter visible settings based on if they can be set per extruder
Contributes to CURA-340
This commit is contained in:
parent
3a75e1fb79
commit
abf634c0b0
@ -31,6 +31,15 @@ ScrollView
|
|||||||
containerId: Cura.MachineManager.activeDefinitionId
|
containerId: Cura.MachineManager.activeDefinitionId
|
||||||
exclude: ["machine_settings"]
|
exclude: ["machine_settings"]
|
||||||
visibilityHandler: UM.SettingPreferenceVisibilityHandler { }
|
visibilityHandler: UM.SettingPreferenceVisibilityHandler { }
|
||||||
|
|
||||||
|
filter:
|
||||||
|
{
|
||||||
|
if(ExtruderManager.activeExtruderStackId)
|
||||||
|
{
|
||||||
|
return { "settable_per_extruder": true }
|
||||||
|
}
|
||||||
|
return { }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
delegate: Loader
|
delegate: Loader
|
||||||
|
Loading…
x
Reference in New Issue
Block a user