mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-29 05:41:05 -07:00
Use MaterialsModel for materialsModel
This specialized InstanceContainersModel has an override that makes the model a bit more efficient when non-materials get their metadata updated. Contributes to issue CURA-4243.
This commit is contained in:
parent
9938678347
commit
e0f0e098ff
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (c) 2016 Ultimaker B.V.
|
// Copyright (c) 2017 Ultimaker B.V.
|
||||||
// Cura is released under the terms of the LGPLv3 or higher.
|
// Cura is released under the terms of the LGPLv3 or higher.
|
||||||
|
|
||||||
import QtQuick 2.2
|
import QtQuick 2.2
|
||||||
|
|
@ -143,7 +143,7 @@ Menu
|
||||||
}
|
}
|
||||||
|
|
||||||
//: Model used to populate the brandModel
|
//: Model used to populate the brandModel
|
||||||
UM.InstanceContainersModel
|
Cura.MaterialsModel
|
||||||
{
|
{
|
||||||
id: materialsModel
|
id: materialsModel
|
||||||
filter: materialFilter()
|
filter: materialFilter()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue