diff options
author | Marius Kintel <marius@kintel.net> | 2013-05-03 02:11:23 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-05-03 02:11:23 (GMT) |
commit | c4cae2a29a7df82f4f1b43543e6b22b642a275b0 (patch) | |
tree | f13c66f1d96be5a83122cb0a62583280a70e07d3 /tests | |
parent | 17df3f6275fce73119c311cc73a6ad057d3b47ee (diff) |
Fixes crash if hull's children are empty objects. Fixes #345
Diffstat (limited to 'tests')
-rw-r--r-- | tests/regression/dumptest/hull2-tests-expected.txt | 6 | ||||
-rw-r--r-- | tests/regression/dumptest/hull3-tests-expected.txt | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/regression/dumptest/hull2-tests-expected.txt b/tests/regression/dumptest/hull2-tests-expected.txt index e4c5a5b..c14282f 100644 --- a/tests/regression/dumptest/hull2-tests-expected.txt +++ b/tests/regression/dumptest/hull2-tests-expected.txt @@ -56,4 +56,10 @@ } } } + group() { + hull() { + square(size = [0, 0], center = false); + circle($fn = 0, $fa = 12, $fs = 2, r = 0); + } + } diff --git a/tests/regression/dumptest/hull3-tests-expected.txt b/tests/regression/dumptest/hull3-tests-expected.txt index 4c05e2c..f8def3b 100644 --- a/tests/regression/dumptest/hull3-tests-expected.txt +++ b/tests/regression/dumptest/hull3-tests-expected.txt @@ -27,4 +27,10 @@ } } } + group() { + hull() { + cube(size = [0, 0, 0], center = false); + sphere($fn = 0, $fa = 12, $fs = 2, r = 0); + } + } |