mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 20:28:01 -06:00
Disable annoying debug message about not found printer definition
This commit is contained in:
parent
c59e4bb3e1
commit
8676792ef8
2 changed files with 3 additions and 8 deletions
|
@ -149,18 +149,13 @@ class MachineSettingsAction(MachineAction):
|
||||||
|
|
||||||
definition_changes_container.setProperty("machine_extruder_count", "value", extruder_count)
|
definition_changes_container.setProperty("machine_extruder_count", "value", extruder_count)
|
||||||
|
|
||||||
# Make sure one of the extruder stacks is active
|
|
||||||
if extruder_manager.activeExtruderIndex == -1:
|
|
||||||
extruder_manager.setActiveExtruderIndex(0)
|
|
||||||
|
|
||||||
# Move settable_per_extruder values out of the global container
|
|
||||||
global_user_container = self._global_container_stack.getTop()
|
|
||||||
|
|
||||||
# Make sure one of the extruder stacks is active
|
# Make sure one of the extruder stacks is active
|
||||||
extruder_manager.setActiveExtruderIndex(0)
|
extruder_manager.setActiveExtruderIndex(0)
|
||||||
|
|
||||||
# Move settable_per_extruder values out of the global container
|
# Move settable_per_extruder values out of the global container
|
||||||
# After CURA-4482 this should not be the case anymore, but we still want to support older project files.
|
# After CURA-4482 this should not be the case anymore, but we still want to support older project files.
|
||||||
|
global_user_container = self._global_container_stack.getTop()
|
||||||
|
|
||||||
if previous_extruder_count == 1:
|
if previous_extruder_count == 1:
|
||||||
extruder_stacks = ExtruderManager.getInstance().getActiveExtruderStacks()
|
extruder_stacks = ExtruderManager.getInstance().getActiveExtruderStacks()
|
||||||
global_user_container = self._global_container_stack.getTop()
|
global_user_container = self._global_container_stack.getTop()
|
||||||
|
|
|
@ -547,7 +547,7 @@ class XmlMaterialProfile(InstanceContainer):
|
||||||
|
|
||||||
definitions = ContainerRegistry.getInstance().findDefinitionContainers(id = machine_id)
|
definitions = ContainerRegistry.getInstance().findDefinitionContainers(id = machine_id)
|
||||||
if not definitions:
|
if not definitions:
|
||||||
Logger.log("w", "No definition found for machine ID %s", machine_id)
|
# Logger.log("w", "No definition found for machine ID %s", machine_id)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
definition = definitions[0]
|
definition = definitions[0]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue