mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -06:00
Remove commented out code - CURA-4482
This commit is contained in:
parent
152f6f8405
commit
59580c0ade
2 changed files with 0 additions and 11 deletions
|
@ -61,16 +61,6 @@ class GlobalStack(CuraContainerStack):
|
||||||
# \throws Exceptions.TooManyExtrudersError Raised when trying to add an extruder while we
|
# \throws Exceptions.TooManyExtrudersError Raised when trying to add an extruder while we
|
||||||
# already have the maximum number of extruders.
|
# already have the maximum number of extruders.
|
||||||
def addExtruder(self, extruder: ContainerStack) -> None:
|
def addExtruder(self, extruder: ContainerStack) -> None:
|
||||||
|
|
||||||
# CURA-4482
|
|
||||||
# extruder_count = self.getProperty("machine_extruder_count", "value")
|
|
||||||
|
|
||||||
# CURA-4482
|
|
||||||
# if extruder_count <= 1:
|
|
||||||
# Logger.log("i", "Not adding extruder[%s] to [%s] because it is a single-extrusion machine.",
|
|
||||||
# extruder.id, self.id)
|
|
||||||
# return
|
|
||||||
|
|
||||||
position = extruder.getMetaDataEntry("position")
|
position = extruder.getMetaDataEntry("position")
|
||||||
if position is None:
|
if position is None:
|
||||||
Logger.log("w", "No position defined for extruder {extruder}, cannot add it to stack {stack}", extruder = extruder.id, stack = self.id)
|
Logger.log("w", "No position defined for extruder {extruder}, cannot add it to stack {stack}", extruder = extruder.id, stack = self.id)
|
||||||
|
|
|
@ -91,7 +91,6 @@ class ProfilesModel(InstanceContainersModel):
|
||||||
return
|
return
|
||||||
|
|
||||||
extruder_stacks = self._getOrderedExtruderStacksList()
|
extruder_stacks = self._getOrderedExtruderStacksList()
|
||||||
|
|
||||||
container_registry = ContainerRegistry.getInstance()
|
container_registry = ContainerRegistry.getInstance()
|
||||||
|
|
||||||
# Get a list of usable/available qualities for this machine and material
|
# Get a list of usable/available qualities for this machine and material
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue