D6: Changed Decorator

This commit is contained in:
Victor Larchenko 2016-12-12 13:10:02 +06:00 committed by Youness Alaoui
parent 90f7cebbbb
commit 647c2f15ba
3 changed files with 7 additions and 16 deletions

View file

@ -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