fixed wrong variable name for quaternions as rotation options
This commit is contained in:
parent
94423cc7ac
commit
acad1246f3
|
@ -60,7 +60,7 @@ if options.angleaxis != []:
|
|||
rotation = damask.Quaternion().fromAngleAxis(np.radians(options.angleaxis[0]) if options.degrees else options.angleaxis[0],
|
||||
options.angleaxis[1:4]).conjugated()
|
||||
elif options.quaternion != []:
|
||||
options.rotation = map(float,options.rotation)
|
||||
options.quaternion = map(float,options.quaternion)
|
||||
rotation = damask.Quaternion(options.quaternion).conjugated()
|
||||
else:
|
||||
rotation = damask.Quaternion().conjugated()
|
||||
|
|
Loading…
Reference in New Issue