mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Added activeMaterial property
CURA-1278
This commit is contained in:
parent
44f5559db3
commit
89c0644e4b
2 changed files with 29 additions and 2 deletions
|
@ -172,8 +172,8 @@ Item
|
|||
|
||||
ToolButton {
|
||||
id: materialSelection
|
||||
text: UM.MachineManager.activeMaterial
|
||||
tooltip: UM.MachineManager.activeMaterial
|
||||
text: Cura.MachineManager.activeMaterialName
|
||||
tooltip: Cura.MachineManager.activeMaterialName
|
||||
visible: UM.MachineManager.hasMaterials
|
||||
|
||||
height: UM.Theme.getSize("setting_control").height
|
||||
|
@ -187,6 +187,11 @@ Item
|
|||
Instantiator
|
||||
{
|
||||
id: materialSelectionInstantiator
|
||||
model: UM.InstanceContainersModel
|
||||
{
|
||||
filter: {"type": "material"}
|
||||
}
|
||||
//model: UM.InstancesModel {filter: {"type":"material"}}
|
||||
// model: UM.MachineMaterialsModel { id: machineMaterialsModel }
|
||||
MenuItem
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue