diff options
Diffstat (limited to 'cura/Scene')
-rw-r--r-- | cura/Scene/BlockSlicingDecorator.py | 5 | ||||
-rw-r--r-- | cura/Scene/GCodeListDecorator.py | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/cura/Scene/BlockSlicingDecorator.py b/cura/Scene/BlockSlicingDecorator.py index d9c9e0ac5e..3f0d57a83f 100644 --- a/cura/Scene/BlockSlicingDecorator.py +++ b/cura/Scene/BlockSlicingDecorator.py @@ -9,4 +9,7 @@ class BlockSlicingDecorator(SceneNodeDecorator): super().__init__() def isBlockSlicing(self) -> bool: - return True
\ No newline at end of file + return True + + def __deepcopy__(self, memo): + return BlockSlicingDecorator()
\ No newline at end of file diff --git a/cura/Scene/GCodeListDecorator.py b/cura/Scene/GCodeListDecorator.py index 6c52fb89bf..b8db706db3 100644 --- a/cura/Scene/GCodeListDecorator.py +++ b/cura/Scene/GCodeListDecorator.py @@ -17,8 +17,8 @@ class GCodeListDecorator(SceneNodeDecorator): def getGCodeList(self) -> List[str]: return self._gcode_list - def setGCodeList(self, list: List[str]) -> None: - self._gcode_list = list + def setGCodeList(self, gcode_list: List[str]) -> None: + self._gcode_list = gcode_list def __deepcopy__(self, memo) -> "GCodeListDecorator": copied_decorator = GCodeListDecorator() |