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>2010-07-15 20:56:27 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-07-15 20:56:27 +0400
commit29f96aa28788a4fc8864c2518e972c5c7d1b5dcc (patch)
tree75795a36193853317448262e8817e2461a6660ad /add_curve_aceous_galore.py
parentf15da84f3619b91098e60ab3ca369396cafd7196 (diff)
update for changes in blenders api.
Diffstat (limited to 'add_curve_aceous_galore.py')
-rw-r--r--add_curve_aceous_galore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/add_curve_aceous_galore.py b/add_curve_aceous_galore.py
index 9fe59f95..af11b141 100644
--- a/add_curve_aceous_galore.py
+++ b/add_curve_aceous_galore.py
@@ -655,7 +655,7 @@ def createCurve(vertArray, options, curveOptions, align_matrix):
# create object with newCurve
new_obj = bpy.data.objects.new(name, newCurve) # object
scene.objects.link(new_obj) # place in active scene
- new_obj.selected = True # set as selected
+ new_obj.select = True # set as selected
scene.objects.active = new_obj # set as active
new_obj.matrix_world = align_matrix # apply matrix