mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
Fix overlook in 67b539aba
This commit is contained in:
@@ -51,7 +51,7 @@ def remove_representation(
|
|||||||
for s in subelement.LayerAssignment if not is_ifc2x3 else subelement.LayerAssignments:
|
for s in subelement.LayerAssignment if not is_ifc2x3 else subelement.LayerAssignments:
|
||||||
presentation_layer_assignments_items.add(s)
|
presentation_layer_assignments_items.add(s)
|
||||||
# IfcTessellatedFaceSet inverses
|
# IfcTessellatedFaceSet inverses
|
||||||
if subelement.is_a() == "IfcTessellatedFaceSet":
|
if subelement.is_a("IfcTessellatedFaceSet"):
|
||||||
textures.update(subelement.HasTextures)
|
textures.update(subelement.HasTextures)
|
||||||
colours.update(subelement.HasColours)
|
colours.update(subelement.HasColours)
|
||||||
elif subelement.is_a("IfcRepresentation"):
|
elif subelement.is_a("IfcRepresentation"):
|
||||||
|
|||||||
Reference in New Issue
Block a user