SvgSerializer fix: Z == 2

This commit is contained in:
Thomas Krijnen
2024-08-23 20:43:27 +02:00
parent 5fdad744d3
commit 81bdb551ab
+1 -1
View File
@@ -2328,7 +2328,7 @@ void SvgSerializer::setFile(IfcParse::IfcFile* f) {
gp_Trsf trsf;
if (matrix) {
// @todo shouldn't this take into account configurable section height?
setSectionHeight(matrix->translation_part()(3) + 1.);
setSectionHeight(matrix->translation_part()(2) + 1.);
#ifdef TAXONOMY_USE_NAKED_PTR
delete matrix;
#endif