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:
authorCampbell Barton <ideasman42@gmail.com>2013-03-26 08:06:46 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-26 08:06:46 +0400
commit80793a9d08334f3bc16e55a26f25f6141a5fbeab (patch)
treef78ea6450cfc7c18bf6e9fae359b0cb8aad2b366 /io_mesh_stl/blender_utils.py
parentf3d326b3172daf9975083ebfdd23de69fc2a333e (diff)
fix [#34682] STL importer ValueError exception
Diffstat (limited to 'io_mesh_stl/blender_utils.py')
-rw-r--r--io_mesh_stl/blender_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/io_mesh_stl/blender_utils.py b/io_mesh_stl/blender_utils.py
index 9c3488eb..7b037716 100644
--- a/io_mesh_stl/blender_utils.py
+++ b/io_mesh_stl/blender_utils.py
@@ -38,6 +38,7 @@ def create_and_link_mesh(name, faces, points):
obj = bpy.data.objects.new(name, mesh)
scene.objects.link(obj)
+ scene.objects.active =
obj.select = True