Bugfix for split_polygons_at_each_z()

This commit is contained in:
Revar Desmera 2020-05-18 01:49:46 -07:00
parent 42e064c2ac
commit b1ae85e65c
2 changed files with 2 additions and 2 deletions

View file

@ -1514,7 +1514,7 @@ function _split_polygon_at_y(poly, y) =
function _split_polygon_at_z(poly, z) = function _split_polygon_at_z(poly, z) =
let( let(
zs = subindex(poly,1) zs = subindex(poly,2)
) (min(zs) >= z || max(zs) <= z)? [poly] : ) (min(zs) >= z || max(zs) <= z)? [poly] :
let( let(
poly2 = [ poly2 = [

View file

@ -8,7 +8,7 @@
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
BOSL_VERSION = [2,0,304]; BOSL_VERSION = [2,0,305];
// Section: BOSL Library Version Functions // Section: BOSL Library Version Functions