Skip to content

Commit

Permalink
Fix hiding annotation objects without repr on drawing activation
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrej730 committed Mar 25, 2024
1 parent f916edc commit 67a17dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/blenderbim/blenderbim/tool/drawing.py
Expand Up @@ -1734,7 +1734,9 @@ def activate_drawing(cls, camera):
has_context = True
break

if not has_context:
# don't hide IfcAnnotations as some of them might exist without representations
# e.g. with ObjectType = SYMBOL
if not has_context and not element.is_a("IfcAnnotation"):
obj.hide_set(True)
obj.hide_render = True

Expand Down

0 comments on commit 67a17dd

Please sign in to comment.