diff options
Diffstat (limited to 'archimesh/achm_shelves_maker.py')
-rw-r--r-- | archimesh/achm_shelves_maker.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archimesh/achm_shelves_maker.py b/archimesh/achm_shelves_maker.py index 89f83aa8..e6e01ddb 100644 --- a/archimesh/achm_shelves_maker.py +++ b/archimesh/achm_shelves_maker.py @@ -263,7 +263,7 @@ def create_shelves_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) # Create units generate_shelves(self) @@ -312,9 +312,9 @@ def generate_shelves(self): # deactivate others for o in bpy.data.objects: if o.select is True: - o.select = False + o.select_set(False) - boxes[0].select = True + boxes[0].select_set(True) bpy.context.scene.objects.active = boxes[0] # Create materials |