diff options
Diffstat (limited to 'release/scripts/op/add_mesh_torus.py')
-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): |