mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-19 01:55:54 +08:00
Remove debugging logs
This commit is contained in:
parent
97f35d8fe1
commit
1bce215564
@ -803,15 +803,12 @@ class BuildVolume(SceneNode):
|
|||||||
self._shape = self._global_container_stack.getProperty("machine_shape", "value")
|
self._shape = self._global_container_stack.getProperty("machine_shape", "value")
|
||||||
|
|
||||||
def _updateUsedExtruders(self):
|
def _updateUsedExtruders(self):
|
||||||
Logger.info("Updating used extruders")
|
|
||||||
global_container_stack = self._application.getGlobalContainerStack()
|
global_container_stack = self._application.getGlobalContainerStack()
|
||||||
if not global_container_stack:
|
if not global_container_stack:
|
||||||
return
|
return
|
||||||
used_extruders = ExtruderManager.getInstance().getUsedExtruderStacks()
|
used_extruders = ExtruderManager.getInstance().getUsedExtruderStacks()
|
||||||
for extruder in global_container_stack.extruderList:
|
for extruder in global_container_stack.extruderList:
|
||||||
used = extruder in used_extruders
|
used = extruder in used_extruders
|
||||||
Logger.info(f"- {extruder.getId()}: {used}")
|
|
||||||
changed = (used == extruder.getProperty("extruder_used", "value"))
|
|
||||||
extruder.definitionChanges.setProperty("extruder_used", "value", used)
|
extruder.definitionChanges.setProperty("extruder_used", "value", used)
|
||||||
|
|
||||||
def _nodeActiveExtruderChanged(self):
|
def _nodeActiveExtruderChanged(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user