SliceableObjectDecorator.py 321 B

123456789101112
  1. from UM.Scene.SceneNodeDecorator import SceneNodeDecorator
  2. class SliceableObjectDecorator(SceneNodeDecorator):
  3. def __init__(self) -> None:
  4. super().__init__()
  5. def isSliceable(self) -> bool:
  6. return True
  7. def __deepcopy__(self, memo) -> "SliceableObjectDecorator":
  8. return type(self)()