summaryrefslogtreecommitdiff
path: root/dxflinextrude.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dxflinextrude.cc')
-rw-r--r--dxflinextrude.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/dxflinextrude.cc b/dxflinextrude.cc
index 9e714c4..3fb1ece 100644
--- a/dxflinextrude.cc
+++ b/dxflinextrude.cc
@@ -159,6 +159,9 @@ PolySet *DxfLinearExtrudeNode::render_polyset(render_mode_e) const
dxf.paths[i].points.last()->y / scale + origin_y);
}
+ dxf_tesselate(ps, &dxf, false, h1);
+ dxf_tesselate(ps, &dxf, true, h2);
+
for (int i = 0; i < dxf.paths.count(); i++)
{
if (!dxf.paths[i].is_closed)
@@ -166,9 +169,6 @@ PolySet *DxfLinearExtrudeNode::render_polyset(render_mode_e) const
add_slice(ps, &dxf.paths[i], h1, h2);
}
- dxf_tesselate(ps, &dxf, false, h1);
- dxf_tesselate(ps, &dxf, true, h2);
-
return ps;
}
contact: Jan Huwald // Impressum