removed dangerous property overload (.asQuaternion() —> .quaternion)

This commit is contained in:
Philip Eisenlohr 2015-09-09 22:37:18 +00:00
parent e0d5cef047
commit 31bb27268c
1 changed files with 4 additions and 2 deletions

View File

@ -799,9 +799,11 @@ class Orientation:
def asQuaternion(self):
return self.quaternion.asList()
quaternion = property(asQuaternion)
def asEulers(self,type='bunge',degrees=False,standardRange=False):
def asEulers(self,
type = 'bunge',
degrees = False,
standardRange = False):
return self.quaternion.asEulers(type, degrees, standardRange)
eulers = property(asEulers)