mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 23:36:20 +00:00
Correctly name SVG section
This commit is contained in:
@@ -672,7 +672,11 @@ void SvgSerializer::write(const geometry_data& data) {
|
|||||||
emitted = true;
|
emitted = true;
|
||||||
|
|
||||||
if (po == nullptr) {
|
if (po == nullptr) {
|
||||||
po = &start_path(storey, data.svg_name);
|
if (storey) {
|
||||||
|
po = &start_path(storey, data.svg_name);
|
||||||
|
} else {
|
||||||
|
po = &start_path(drawing_name, data.svg_name);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create a horizontal cross section 1 meter above the bottom point of the shape
|
// Create a horizontal cross section 1 meter above the bottom point of the shape
|
||||||
|
|||||||
Reference in New Issue
Block a user