Skip to content

Commit

Permalink
Fix bug where hidden elements weren't selected sometimes
Browse files Browse the repository at this point in the history
  • Loading branch information
Moult committed Mar 28, 2024
1 parent 572aedb commit 84c931b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blenderbim/blenderbim/tool/spatial.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ def select_products(cls, products, unhide=False):
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):
Expand Down

0 comments on commit 84c931b

Please sign in to comment.