mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
D6: Changed Decorator
This commit is contained in:
parent
90f7cebbbb
commit
647c2f15ba
3 changed files with 7 additions and 16 deletions
|
@ -6,16 +6,9 @@ class SliceableObjectDecorator(SceneNodeDecorator):
|
|||
def __init__(self):
|
||||
super().__init__()
|
||||
self._sliceable = True
|
||||
self._block_slicing = False
|
||||
|
||||
def isSliceable(self):
|
||||
return self._sliceable
|
||||
|
||||
def setSliceable(self, sliceable):
|
||||
self._sliceable = sliceable
|
||||
|
||||
def shouldBlockSlicing(self):
|
||||
return self._block_slicing
|
||||
|
||||
def setBlockSlicing(self, block_slicing):
|
||||
self._block_slicing = block_slicing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue