mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
Fix hiding annotation objects without repr on drawing activation
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user