Fix hiding annotation objects without repr on drawing activation

This commit is contained in:
Andrej730
2024-03-25 14:44:51 +05:00
parent 98e0070be7
commit 71013a48d4
+3 -1
View File
@@ -1734,7 +1734,9 @@ class Drawing(blenderbim.core.tool.Drawing):
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