mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 20:55:54 +08:00
CURA-5234 Make use of the function to add wrong containers to the set.
This commit is contained in:
parent
80d7dc18cb
commit
0d56d72760
@ -220,7 +220,7 @@ class MaterialManager(QObject):
|
|||||||
else:
|
else:
|
||||||
# Add this container id to the wrong containers list in the registry
|
# Add this container id to the wrong containers list in the registry
|
||||||
Logger.log("w", "Not adding {id} to the material manager because the variant does not exist.".format(id = material_metadata["id"]))
|
Logger.log("w", "Not adding {id} to the material manager because the variant does not exist.".format(id = material_metadata["id"]))
|
||||||
self._container_registry.wrong_container_ids.append(material_metadata["id"])
|
self._container_registry.addWrongContainerId(material_metadata["id"])
|
||||||
|
|
||||||
self.materialsUpdated.emit()
|
self.materialsUpdated.emit()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user