From 29f96aa28788a4fc8864c2518e972c5c7d1b5dcc Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 15 Jul 2010 16:56:27 +0000 Subject: update for changes in blenders api. --- add_curve_aceous_galore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'add_curve_aceous_galore.py') 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 -- cgit v1.2.3