diff options
Diffstat (limited to 'archimesh/achm_lamp_maker.py')
-rw-r--r-- | archimesh/achm_lamp_maker.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archimesh/achm_lamp_maker.py b/archimesh/achm_lamp_maker.py index 1297d55e..fd4617ab 100644 --- a/archimesh/achm_lamp_maker.py +++ b/archimesh/achm_lamp_maker.py @@ -390,7 +390,7 @@ def create_light_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) generate_light(self) @@ -493,9 +493,9 @@ def generate_light(self): # deactivate others for o in bpy.data.objects: if o.select is True: - o.select = False + o.select_set(False) - mybase.select = True + mybase.select_set(True) bpy.context.scene.objects.active = mybase return |