Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNBurn <7nburn@gmail.com>2019-01-25 06:59:16 +0300
committerNBurn <7nburn@gmail.com>2019-01-25 06:59:16 +0300
commitc686df25d98bc6a08ad02b9f4f9cff6b4aee4805 (patch)
tree2ddb8dd6ee0fc2bd546bb95691c07b906aeab1cf /archimesh/achm_main_panel.py
parenta6189ebcbe0fcee59f72147fcc160f7b47234354 (diff)
addons: object select_set syntax update
Diffstat (limited to 'archimesh/achm_main_panel.py')
-rw-r--r--archimesh/achm_main_panel.py4
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