mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-14 03:14:23 +00:00
Fix #4765. Only run Blender calculator on meshes.
This commit is contained in:
@@ -255,7 +255,7 @@ class Blender:
|
||||
|
||||
for element in elements:
|
||||
obj = tool.Ifc.get_object(element)
|
||||
if not obj:
|
||||
if not obj or obj.type != "MESH":
|
||||
continue
|
||||
results.setdefault(element, {})
|
||||
for name, quantities in qtos.items():
|
||||
|
||||
Reference in New Issue
Block a user