small fix for tool.Drawing.get_drawing_metadata

Otherwise it always returned a list with 1 empty string like `[ "" ]` which resulted in messy class names in svg like "-87IfcAnnotation0LtaLiEpzAOxEqmIvCV27EFALLSLOPEANGLE".
This commit is contained in:
Andrej730
2023-03-09 18:48:55 +05:00
parent 972d701801
commit 7677733850
@@ -960,6 +960,7 @@ class Drawing(blenderbim.core.tool.Drawing):
return [
v.strip()
for v in ifcopenshell.util.element.get_psets(drawing)["EPset_Drawing"].get("Metadata", "").split(",")
if v
]
@classmethod