mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 14:06:24 +08: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,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…
x
Reference in New Issue
Block a user