mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Filter available materials by the machine definition
Since we now have some machine-specific materials
This commit is contained in:
parent
2654033fae
commit
b2a8810d04
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ UM.ManagementPage
|
|||
|
||||
title: catalog.i18nc("@title:tab", "Materials");
|
||||
|
||||
model: UM.InstanceContainersModel { filter: { "type": "material" } }
|
||||
model: UM.InstanceContainersModel { filter: { "type": "material", "definition": Cura.MachineManager.activeDefinitionId } }
|
||||
/*
|
||||
onAddObject: { var selectedMaterial = UM.MaterialManager.createProfile(); base.selectMaterial(selectedMaterial); }
|
||||
onRemoveObject: confirmDialog.open();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue