mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
CURA-4606 cleanup and optimization for replaceContainer
This commit is contained in:
parent
bf2317a74d
commit
8aab8f4394
6 changed files with 8 additions and 23 deletions
|
@ -239,7 +239,8 @@ class QualityManager(QObject):
|
|||
|
||||
machine_node = self._machine_quality_type_to_quality_changes_dict.get(machine_definition_id)
|
||||
if not machine_node:
|
||||
raise RuntimeError("Cannot find node for machine def [%s] in QualityChanges lookup table" % machine_definition_id)
|
||||
Logger.log("e", "Cannot find node for machine def [%s] in QualityChanges lookup table", machine_definition_id)
|
||||
return {}
|
||||
|
||||
# Update availability for each QualityChangesGroup:
|
||||
# A custom profile is always available as long as the quality_type it's based on is available
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue