Skip to content

Commit 264abfd

Browse files
committed
remove boundingbox as property
1 parent 27902e1 commit 264abfd

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/compas_rhino/conduits/base.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ class BaseConduit(Rhino.Display.DisplayConduit):
2525
def __init__(self, refreshrate=1):
2626
super(BaseConduit, self).__init__()
2727
self.refreshrate = refreshrate
28-
self._boundingbox = None
2928

3029
@contextmanager
3130
def enabled(self):
@@ -37,13 +36,6 @@ def enabled(self):
3736
finally:
3837
self.disable()
3938

40-
@property
41-
def boundingbox(self):
42-
if self.boundgbox is None:
43-
boundingbox = self.CalculateBoundingBox()
44-
self._boundingbox = boundingbox
45-
return self._boundingbox
46-
4739
def CalculateBoundingBox(self, e):
4840
bbox = Rhino.Geometry.BoundingBox(-1000, -1000, -1000, 1000, 1000, 1000)
4941
e.IncludeBoundingBox(bbox)

0 commit comments

Comments
 (0)