mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 07:09:22 +00:00
Minor fix after b9a9abd30
This commit is contained in:
@@ -107,7 +107,7 @@ def switch_representation(
|
|||||||
|
|
||||||
# doesn't resolve mapped representations in case if it's going to have openings
|
# doesn't resolve mapped representations in case if it's going to have openings
|
||||||
# otherwise we would also add openings to the type and other occurences mesh data
|
# otherwise we would also add openings to the type and other occurences mesh data
|
||||||
has_openings = apply_openings and entity.HasOpenings
|
has_openings = apply_openings and getattr(entity, "HasOpenings", None)
|
||||||
if not has_openings:
|
if not has_openings:
|
||||||
representation = geometry.resolve_mapped_representation(representation)
|
representation = geometry.resolve_mapped_representation(representation)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user