Remove unnecessary re-adding of extruders

This was originally added for backwards compatibility with old versions of Uranium. However the link between Cura versions and Uranium versions is already very strong (Cura crashes with old Uranium versions) so this is not necessary.
It was also adding warnings in our log that these extruders had already been added to the printer.

Done during Turbo Testing and Tooling, to clean up our log files.
This commit is contained in:
Ghostkeeper 2020-05-15 14:26:44 +02:00
parent 783b26e521
commit b231a4b3a2
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A
3 changed files with 0 additions and 36 deletions

View file

@ -44,9 +44,6 @@ class ExtruderStack(CuraContainerStack):
stack.addExtruder(self)
self.setMetaDataEntry("machine", stack.id)
# For backward compatibility: Register the extruder with the Extruder Manager
ExtruderManager.getInstance().registerExtruder(self, stack.id)
@override(ContainerStack)
def getNextStack(self) -> Optional["GlobalStack"]:
return super().getNextStack()