mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
write svg drawing name in data-name
This commit is contained in:
@@ -946,7 +946,7 @@ void SvgSerializer::finalize() {
|
||||
if (it->first.first) {
|
||||
svg_file << " <g " << nameElement(it->first.first) << ">\n";
|
||||
} else {
|
||||
svg_file << " <g id=\"" << it->first.second << "\" class=\"section\">\n";
|
||||
svg_file << " <g data-name=\"" << it->first.second << "\" class=\"section\">\n";
|
||||
}
|
||||
}
|
||||
svg_file << " <g " << it->second.first << ">\n";
|
||||
|
||||
Reference in New Issue
Block a user