diff options
Diffstat (limited to 'add_mesh_pipe_joint.py')
-rw-r--r-- | add_mesh_pipe_joint.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/add_mesh_pipe_joint.py b/add_mesh_pipe_joint.py index 6fe34251..97f7d2e5 100644 --- a/add_mesh_pipe_joint.py +++ b/add_mesh_pipe_joint.py @@ -196,7 +196,7 @@ def create_mesh_object(context, verts, edges, faces, name, edit, align_matrix): # Link new object to the given scene and select it. scene.objects.link(ob_new) - ob_new.selected = True + ob_new.select = True # Place the object at the 3D cursor location. ob_new.matrix_world = align_matrix @@ -207,7 +207,7 @@ def create_mesh_object(context, verts, edges, faces, name, edit, align_matrix): bpy.ops.object.mode_set(mode='OBJECT') # Select the active object as well. - obj_act.selected = True + obj_act.select = True # Apply location of new object. scene.update() |