fix drill down = 0
This commit is contained in:
parent
e19c27170a
commit
fb096d6e19
1 changed files with 3 additions and 0 deletions
|
|
@ -179,6 +179,9 @@
|
||||||
let remain = poly.first().z - poly.last().z,
|
let remain = poly.first().z - poly.last().z,
|
||||||
points = [],
|
points = [],
|
||||||
point = poly.first();
|
point = poly.first();
|
||||||
|
if (down <= 0) {
|
||||||
|
down = remain;
|
||||||
|
}
|
||||||
for (;;) {
|
for (;;) {
|
||||||
if (remain > down * 2) {
|
if (remain > down * 2) {
|
||||||
points.push(point.clone());
|
points.push(point.clone());
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue