mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 16:57:51 -06:00
D6: Changed decorator and swapping to LayerView
This commit is contained in:
parent
647c2f15ba
commit
67ab0cab41
7 changed files with 50 additions and 41 deletions
|
@ -1,14 +1,9 @@
|
|||
from UM.Scene.SceneNodeDecorator import SceneNodeDecorator
|
||||
|
||||
|
||||
## Simple decorator to indicate a scene node is sliceable or not.
|
||||
class SliceableObjectDecorator(SceneNodeDecorator):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._sliceable = True
|
||||
|
||||
def isSliceable(self):
|
||||
return self._sliceable
|
||||
|
||||
def setSliceable(self, sliceable):
|
||||
self._sliceable = sliceable
|
||||
return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue