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:
authorBastien Montagne <montagne29@wanadoo.fr>2013-03-26 12:21:39 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2013-03-26 12:21:39 +0400
commit86b21848fbbbc4ac114e29f6cc14c9bffb23067e (patch)
treed9daffefc6d0468631ab8cc1d5ffd800ef1eb8b0 /io_mesh_stl
parent80793a9d08334f3bc16e55a26f25f6141a5fbeab (diff)
Fix stl addon (hope it's the right one! :p )
Diffstat (limited to 'io_mesh_stl')
-rw-r--r--io_mesh_stl/blender_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_stl/blender_utils.py b/io_mesh_stl/blender_utils.py
index 7b037716..1de66f20 100644
--- a/io_mesh_stl/blender_utils.py
+++ b/io_mesh_stl/blender_utils.py
@@ -38,7 +38,7 @@ def create_and_link_mesh(name, faces, points):
obj = bpy.data.objects.new(name, mesh)
scene.objects.link(obj)
- scene.objects.active =
+ scene.objects.active = obj
obj.select = True