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:
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