Commit 28cde67e authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

Mesh class does not need deprecated getBounds method

parent 5f976745
......@@ -305,14 +305,6 @@ class Mesh(notifier.Notifier, meta.Meta):
return vnormals
@deprecation.deprecated(deprecated_in='1.6.0',
removed_in='2.0.0',
details='Use bounds instead')
def getBounds(self):
"""Deprecated - use :meth:`bounds` instead. """
return self.bounds
@property
def bounds(self):
"""Returns a tuple of values which define a minimal bounding box that
......@@ -755,6 +747,14 @@ class TriangleMesh(Mesh):
return vertexData
@deprecation.deprecated(deprecated_in='1.6.0',
removed_in='2.0.0',
details='Use bounds instead')
def getBounds(self):
"""Deprecated - use :meth:`bounds` instead. """
return self.bounds
@deprecation.deprecated(deprecated_in='1.6.0',
removed_in='2.0.0',
details='Use the Mesh class instead')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment