mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 13:34:01 -06:00
Move createMaterial() to MaterialManager
This commit is contained in:
parent
cf2252f4f9
commit
c93643bc2f
3 changed files with 30 additions and 27 deletions
|
@ -79,7 +79,7 @@ Item
|
|||
iconName: "list-add"
|
||||
onClicked: {
|
||||
forceActiveFocus();
|
||||
base.newRootMaterialIdToSwitchTo = Cura.ContainerManager.createMaterial();
|
||||
base.newRootMaterialIdToSwitchTo = base.materialManager.createMaterial();
|
||||
base.toActivateNewMaterial = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue