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_stairs_maker.py')
-rw-r--r--archimesh/achm_stairs_maker.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/archimesh/achm_stairs_maker.py b/archimesh/achm_stairs_maker.py
index 9b65bfbd..963f3ebd 100644
--- a/archimesh/achm_stairs_maker.py
+++ b/archimesh/achm_stairs_maker.py
@@ -207,7 +207,7 @@ def create_stairs_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)
@@ -216,7 +216,7 @@ def create_stairs_mesh(self):
# ------------------------
mydata = create_stairs(self, "Stairs")
mystairs = mydata[0]
- mystairs.select = True
+ mystairs.select_set(True)
bpy.context.scene.objects.active = mystairs
remove_doubles(mystairs)
set_normals(mystairs)
@@ -246,7 +246,7 @@ def create_stairs_mesh(self):
set_material(mystairs, mat)
bpy.ops.object.select_all(False)
- mystairs.select = True
+ mystairs.select_set(True)
bpy.context.scene.objects.active = mystairs
return