diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-07-17 11:10:40 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2019-07-17 17:30:57 +0300 |
commit | 184f7341bd171d411a326de6b4804b61c9903ad2 (patch) | |
tree | 87587af114f4147ffe5cd77fad53ffe8c8038bc0 /archimesh/achm_shelves_maker.py | |
parent | 37fe422f9a193007a31a3962b190660547b306b2 (diff) |
Archimesh: fix usages of bpy.ops.object.select_all
Fixes T67048: Adding archimesh stairs object to the scene flips normals
of all other objects in scene
Reviewers: antoniov, brecht
Maniphest Tasks: T67048
Differential Revision: https://developer.blender.org/D5282
Diffstat (limited to 'archimesh/achm_shelves_maker.py')
-rw-r--r-- | archimesh/achm_shelves_maker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archimesh/achm_shelves_maker.py b/archimesh/achm_shelves_maker.py index 0f04124e..59a2bfc7 100644 --- a/archimesh/achm_shelves_maker.py +++ b/archimesh/achm_shelves_maker.py @@ -264,7 +264,7 @@ def create_shelves_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') # Create units generate_shelves(self) |