BIM: do not prune Roof objects on export

This commit is contained in:
Furgo
2025-05-17 06:20:04 +02:00
committed by Benjamin Nauck
parent c139640c8f
commit 47c76827d8

View File

@@ -762,7 +762,7 @@ def pruneIncluded(objectslist,strict=False,silent=False):
for obj in objectslist:
toplevel = True
if obj.isDerivedFrom("Part::Feature"):
if Draft.getType(obj) not in ["Window","Clone","Pipe","Rebar"]:
if Draft.getType(obj) not in ["Window","Clone","Pipe","Rebar","Roof"]:
for parent in obj.InList:
if not parent.isDerivedFrom("Part::Feature"):
pass