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 /curve_simplify.py
parent5725f500a11c23707426d3b79376e74d8d802920 (diff)
Update for changes in Blender's API
Diffstat (limited to 'curve_simplify.py')
-rw-r--r--curve_simplify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/curve_simplify.py b/curve_simplify.py
index e0d59c60..4a390feb 100644
--- a/curve_simplify.py
+++ b/curve_simplify.py
@@ -309,7 +309,7 @@ def main(context, obj, options, curve_dimension):
newCurve = bpy.data.objects.new("Simple_" + obj.name, curve)
coll = context.view_layer.active_layer_collection.collection
coll.objects.link(newCurve)
- newCurve.select_set('SELECT')
+ newCurve.select_set(True)
context.view_layer.objects.active = newCurve
newCurve.matrix_world = obj.matrix_world