dagoma3d / CuraByDagoma

Cura by Dagoma was originally forked from Legacy Cura. It is a UI to generate gcodes from 3d objects.
14 stars 8 forks source link

One at a Time print doesn't work anymore #128

Closed 0r31 closed 1 year ago

0r31 commented 1 year ago

Following the python3 migration, the oneAtATime feature doesn't work anymore.

Traceback (most recent call last):
  File "C:\Program Files\CuraByDagoma\Cura\gui\sceneView.py", line 721, in _onRunEngine
    self._engine.runEngine(self._scene)
  File "C:\Program Files\CuraByDagoma\Cura\util\sliceEngine.py", line 300, in runEngine
    order = scene.printOrder()
  File "C:\Program Files\CuraByDagoma\Cura\util\objectScene.py", line 254, in printOrder
    order = _objectOrderFinder(self, self._leftToRight, self._frontToBack, self._gantryHeight).order
  File "C:\Program Files\CuraByDagoma\Cura\util\objectScene.py", line 60, in __init__
    initialList.sort(self._objIdxCmp)
TypeError: sort() takes no positional arguments