removed dangerous property overload (.asQuaternion() —> .quaternion)
This commit is contained in:
parent
e0d5cef047
commit
31bb27268c
|
@ -799,9 +799,11 @@ class Orientation:
|
||||||
|
|
||||||
def asQuaternion(self):
|
def asQuaternion(self):
|
||||||
return self.quaternion.asList()
|
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)
|
return self.quaternion.asEulers(type, degrees, standardRange)
|
||||||
eulers = property(asEulers)
|
eulers = property(asEulers)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue