diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-01-24 18:25:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-01-24 18:25:03 +0300 |
commit | 076171c5fa6e2ccef70be6e762b21d558af0dadc (patch) | |
tree | d00a78c3af5ba41f274c06650dba9c66a1f94b47 /release/scripts/op | |
parent | f949c567b95ea03aa95bc283c73ae4818fbe4881 (diff) |
fix [#25757] Torus script uses radians for rotation in panel
Diffstat (limited to 'release/scripts/op')
-rw-r--r-- | release/scripts/op/add_mesh_torus.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/release/scripts/op/add_mesh_torus.py b/release/scripts/op/add_mesh_torus.py index 0dc2668aa37..53460ff264d 100644 --- a/release/scripts/op/add_mesh_torus.py +++ b/release/scripts/op/add_mesh_torus.py @@ -105,8 +105,10 @@ class AddTorus(bpy.types.Operator): # generic transform props view_align = BoolProperty(name="Align to View", default=False) - location = FloatVectorProperty(name="Location") - rotation = FloatVectorProperty(name="Rotation") + location = FloatVectorProperty(name="Location", + subtype='TRANSLATION') + rotation = FloatVectorProperty(name="Rotation", + subtype='EULER') def execute(self, context): |