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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archimesh/achm_stairs_maker.py b/archimesh/achm_stairs_maker.py
index b8688e73..af727101 100644
--- a/archimesh/achm_stairs_maker.py
+++ b/archimesh/achm_stairs_maker.py
@@ -209,7 +209,7 @@ def create_stairs_mesh(self):
if o.select_get() is True:
o.select_set(False)
- bpy.ops.object.select_all(False)
+ bpy.ops.object.select_all(action='DESELECT')
# ------------------------
# Create stairs
@@ -245,7 +245,7 @@ def create_stairs_mesh(self):
mat = create_diffuse_material("Stairs_material", False, 0.8, 0.8, 0.8)
set_material(mystairs, mat)
- bpy.ops.object.select_all(False)
+ bpy.ops.object.select_all(action='DESELECT')
mystairs.select_set(True)
bpy.context.view_layer.objects.active = mystairs