diff options
author | NBurn <7nburn@gmail.com> | 2019-01-25 06:59:16 +0300 |
---|---|---|
committer | NBurn <7nburn@gmail.com> | 2019-01-25 06:59:16 +0300 |
commit | c686df25d98bc6a08ad02b9f4f9cff6b4aee4805 (patch) | |
tree | 2ddb8dd6ee0fc2bd546bb95691c07b906aeab1cf /archimesh/achm_stairs_maker.py | |
parent | a6189ebcbe0fcee59f72147fcc160f7b47234354 (diff) |
addons: object select_set syntax update
Diffstat (limited to 'archimesh/achm_stairs_maker.py')
-rw-r--r-- | archimesh/achm_stairs_maker.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archimesh/achm_stairs_maker.py b/archimesh/achm_stairs_maker.py index 9b65bfbd..963f3ebd 100644 --- a/archimesh/achm_stairs_maker.py +++ b/archimesh/achm_stairs_maker.py @@ -207,7 +207,7 @@ def create_stairs_mesh(self): # deactivate others for o in bpy.data.objects: if o.select is True: - o.select = False + o.select_set(False) bpy.ops.object.select_all(False) @@ -216,7 +216,7 @@ def create_stairs_mesh(self): # ------------------------ mydata = create_stairs(self, "Stairs") mystairs = mydata[0] - mystairs.select = True + mystairs.select_set(True) bpy.context.scene.objects.active = mystairs remove_doubles(mystairs) set_normals(mystairs) @@ -246,7 +246,7 @@ def create_stairs_mesh(self): set_material(mystairs, mat) bpy.ops.object.select_all(False) - mystairs.select = True + mystairs.select_set(True) bpy.context.scene.objects.active = mystairs return |