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_main_panel.py | |
parent | a6189ebcbe0fcee59f72147fcc160f7b47234354 (diff) |
addons: object select_set syntax update
Diffstat (limited to 'archimesh/achm_main_panel.py')
-rw-r--r-- | archimesh/achm_main_panel.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archimesh/achm_main_panel.py b/archimesh/achm_main_panel.py index 36bc2f63..58de8c74 100644 --- a/archimesh/achm_main_panel.py +++ b/archimesh/achm_main_panel.py @@ -117,8 +117,8 @@ class AchmHoleAction(Operator): # Parent the empty to the room (the parent of frame) if obj.parent is not None: bpy.ops.object.select_all(action='DESELECT') - parentobj.select = True - obj.parent.select = True # parent of object + parentobj.select_set(True) + obj.parent.select_set(True) # parent of object bpy.ops.object.parent_set(type='OBJECT', keep_transform=False) # --------------------------------------- # Add the modifier to controller |