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>2018-11-08 01:06:57 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-08 01:06:57 +0300
commit70df942d31aaaa3d25b7c5543f28529cc51170cc (patch)
tree74b2052407199ef2eba2632a0b9483ba20b59a13 /io_mesh_ply
parent5725f500a11c23707426d3b79376e74d8d802920 (diff)
Update for changes in Blender's API
Diffstat (limited to 'io_mesh_ply')
-rw-r--r--io_mesh_ply/import_ply.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_ply/import_ply.py b/io_mesh_ply/import_ply.py
index f05e1caa..5ec24f8a 100644
--- a/io_mesh_ply/import_ply.py
+++ b/io_mesh_ply/import_ply.py
@@ -398,7 +398,7 @@ def load_ply(filepath):
obj = bpy.data.objects.new(ply_name, mesh)
bpy.context.collection.objects.link(obj)
bpy.context.view_layer.objects.active = obj
- obj.select_set("SELECT")
+ obj.select_set(True)
print('\nSuccessfully imported %r in %.3f sec' % (filepath, time.time() - t))
return {'FINISHED'}