mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Fix #1913. Fix bug where filtering by decomposition didn't work on IFC2X3.
This commit is contained in:
@@ -620,7 +620,9 @@ class LoadProjectElements(bpy.types.Operator):
|
||||
while container:
|
||||
containers.add(container)
|
||||
container = ifcopenshell.util.element.get_aggregate(container)
|
||||
if container.is_a("IfcContext"):
|
||||
if self.file.schema == "IFC2X3" and container.is_a("IfcProject"):
|
||||
container = None
|
||||
elif self.file.schema != "IFC2X3" and container.is_a("IfcContext"):
|
||||
container = None
|
||||
elements = set()
|
||||
for container in containers:
|
||||
|
||||
Reference in New Issue
Block a user