mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 09:17:50 -06:00
Custom material now defaults to PLA.
This is not an ideal solution, but it bandaids a problem for the moment. CURA-3911
This commit is contained in:
parent
8ab5c7e4cd
commit
ec73abecb5
1 changed files with 3 additions and 1 deletions
|
@ -737,7 +737,9 @@ class ContainerManager(QObject):
|
|||
|
||||
duplicated_container.setMetaDataEntry("GUID", str(uuid.uuid4()))
|
||||
duplicated_container.setMetaDataEntry("brand", catalog.i18nc("@label", "Custom"))
|
||||
duplicated_container.setMetaDataEntry("material", catalog.i18nc("@label", "Custom"))
|
||||
# We're defaulting to PLA, as machines with material profiles don't like material types they don't know.
|
||||
# TODO: This is a hack, the only reason this is in now is to bandaid the problem as we're close to a release!
|
||||
duplicated_container.setMetaDataEntry("material", "PLA")
|
||||
duplicated_container.setName(catalog.i18nc("@label", "Custom Material"))
|
||||
|
||||
self._container_registry.addContainer(duplicated_container)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue