diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-07-11 02:57:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-07-11 02:57:27 +0400 |
commit | 488e1da935d55330be55eb30b4605b993dd65dbd (patch) | |
tree | d4437d5e74e962482a4a6aa5336212c257f0245e /add_mesh_extra_objects/add_mesh_twisted_torus.py | |
parent | 8012053e1e178c8cabb133e05dc1e36d52908fa7 (diff) |
cleanup
- remove/comment unused variables
- remove unused imports
- fixed some bugs using incorrect variables
Diffstat (limited to 'add_mesh_extra_objects/add_mesh_twisted_torus.py')
-rw-r--r-- | add_mesh_extra_objects/add_mesh_twisted_torus.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/add_mesh_extra_objects/add_mesh_twisted_torus.py b/add_mesh_extra_objects/add_mesh_twisted_torus.py index 6eb8cc24..bfed4670 100644 --- a/add_mesh_extra_objects/add_mesh_twisted_torus.py +++ b/add_mesh_extra_objects/add_mesh_twisted_torus.py @@ -46,7 +46,6 @@ Usage: import bpy from bpy.props import * -import mathutils from mathutils import * from math import cos, sin, pi @@ -56,8 +55,6 @@ from math import cos, sin, pi # new mesh (as used in from_pydata). # name ... Name of the new mesh (& object). def create_mesh_object(context, verts, edges, faces, name): - scene = context.scene - obj_act = scene.objects.active # Create new mesh mesh = bpy.data.meshes.new(name) |