mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Fix bug where invalid svg embedding was done when building sheets.
This commit is contained in:
@@ -308,7 +308,10 @@ class SheetBuilder:
|
||||
for image in images:
|
||||
new_href = ntpath.basename(image.attrib.get("{http://www.w3.org/1999/xlink}href"))
|
||||
image.attrib["{http://www.w3.org/1999/xlink}href"] = new_href
|
||||
group.append(embedded)
|
||||
for child in embedded:
|
||||
if "namedview" in child.tag:
|
||||
continue
|
||||
group.append(child)
|
||||
return group
|
||||
|
||||
def convert_to_mm(self, value):
|
||||
|
||||
Reference in New Issue
Block a user