From acad1246f37cbd304f54194b6de55edf1ef5539e Mon Sep 17 00:00:00 2001 From: Tias Maiti Date: Fri, 19 Jun 2015 04:38:00 +0000 Subject: [PATCH] fixed wrong variable name for quaternions as rotation options --- processing/pre/geom_addPrimitive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processing/pre/geom_addPrimitive.py b/processing/pre/geom_addPrimitive.py index cdb54c9d6..fe277dcb6 100755 --- a/processing/pre/geom_addPrimitive.py +++ b/processing/pre/geom_addPrimitive.py @@ -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()