mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06: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
1 changed files with 9 additions and 0 deletions
|
@ -31,6 +31,15 @@ ScrollView
|
|||
containerId: Cura.MachineManager.activeDefinitionId
|
||||
exclude: ["machine_settings"]
|
||||
visibilityHandler: UM.SettingPreferenceVisibilityHandler { }
|
||||
|
||||
filter:
|
||||
{
|
||||
if(ExtruderManager.activeExtruderStackId)
|
||||
{
|
||||
return { "settable_per_extruder": true }
|
||||
}
|
||||
return { }
|
||||
}
|
||||
}
|
||||
|
||||
delegate: Loader
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue