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_roof_maker.py')
-rw-r--r--archimesh/achm_roof_maker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archimesh/achm_roof_maker.py b/archimesh/achm_roof_maker.py
index 846b1f50..1b446779 100644
--- a/archimesh/achm_roof_maker.py
+++ b/archimesh/achm_roof_maker.py
@@ -160,7 +160,7 @@ def create_roof_mesh(self):
for o in bpy.data.objects:
if o.select_get() is True:
o.select_set(False)
- bpy.ops.object.select_all(False)
+ bpy.ops.object.select_all(action='DESELECT')
mydata = create_roof(self)
myroof = mydata[0]
@@ -210,7 +210,7 @@ def create_roof_mesh(self):
mat = create_diffuse_material("Roof_material", False, 0.482, 0.061, 0.003, 0.581, 0.105, 0.068, 0.01)
set_material(myroof, mat)
- bpy.ops.object.select_all(False)
+ bpy.ops.object.select_all(action='DESELECT')
myroof.select_set(True)
bpy.context.view_layer.objects.active = myroof
return