Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'add_mesh_extra_objects/add_mesh_twisted_torus.py')
-rw-r--r--add_mesh_extra_objects/add_mesh_twisted_torus.py3
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)