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 'add_advanced_objects_menu/make_struts.py')
-rw-r--r--add_advanced_objects_menu/make_struts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/add_advanced_objects_menu/make_struts.py b/add_advanced_objects_menu/make_struts.py
index 87aee753..b88c478d 100644
--- a/add_advanced_objects_menu/make_struts.py
+++ b/add_advanced_objects_menu/make_struts.py
@@ -477,7 +477,7 @@ def create_struts(self, context, ind, od, segments, solid, loops, manifold):
build_cossin(segments)
for truss_obj in bpy.context.scene.objects:
- if not truss_obj.select:
+ if not truss_obj.select_get():
continue
truss_obj.select_set(False)
truss_mesh = truss_obj.to_mesh(context.scene, True, 'PREVIEW')