diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-03-26 12:21:39 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-03-26 12:21:39 +0400 |
commit | 86b21848fbbbc4ac114e29f6cc14c9bffb23067e (patch) | |
tree | d9daffefc6d0468631ab8cc1d5ffd800ef1eb8b0 /io_mesh_stl | |
parent | 80793a9d08334f3bc16e55a26f25f6141a5fbeab (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.py | 2 |
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 |