mirror of https://github.com/vitalif/openscad
test for crash on 'undef' args to polyhedron(), issue #703
parent
5bb2ab0c76
commit
49d545285c
|
@ -43,3 +43,6 @@ translate([0,2,0]) difference() {
|
|||
translate([3,0,2]) cube([8,3,3], center=true);
|
||||
}
|
||||
|
||||
// dont crash (issue #703)
|
||||
polyhedron(points = undef, triangles = [[1, 2, 3]]);
|
||||
polyhedron(points = [[0,0,0],[1,1,1]], triangles = undef);
|
||||
|
|
Loading…
Reference in New Issue