Fix bug where hidden elements weren't selected sometimes

This commit is contained in:
Dion Moult
2024-03-28 16:52:30 +11:00
parent 572aedb3eb
commit 84c931bb5f
+1 -1
View File
@@ -150,9 +150,9 @@ class Spatial(blenderbim.core.tool.Spatial):
for product in products:
obj = tool.Ifc.get_object(product)
if obj and bpy.context.view_layer.objects.get(obj.name):
obj.select_set(True)
if unhide:
obj.hide_set(False)
obj.select_set(True)
@classmethod
def filter_products(cls, products, action):