summaryrefslogtreecommitdiff
path: root/src/PolySetCGALEvaluator.cc
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2013-06-15 19:26:41 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2013-06-15 19:26:41 (GMT)
commit12eefc770fabd200f2c268380757a29145b06e3a (patch)
tree9f9d693f134be1853aef11a02fdba2a62631b9d3 /src/PolySetCGALEvaluator.cc
parent07729e5384f650a66e73f19b69756ad66e0e8b7b (diff)
parentf89b2993573045189fee6e5dc04d57e9613aadf1 (diff)
Merge branch 'master' of github.com:openscad/openscad
Diffstat (limited to 'src/PolySetCGALEvaluator.cc')
-rw-r--r--src/PolySetCGALEvaluator.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/PolySetCGALEvaluator.cc b/src/PolySetCGALEvaluator.cc
index f0c274f..bc9206f 100644
--- a/src/PolySetCGALEvaluator.cc
+++ b/src/PolySetCGALEvaluator.cc
@@ -324,6 +324,7 @@ PolySet *PolySetCGALEvaluator::extrudeDxfData(const LinearExtrudeNode &node, Dxf
{
PolySet *ps = new PolySet();
ps->convexity = node.convexity;
+ if (node.height <= 0) return ps;
double h1, h2;
contact: Jan Huwald // Impressum