fix 0/1 bucket slicing in slicer2
This commit is contained in:
parent
4ce40c1675
commit
f41d166199
3 changed files with 6 additions and 2 deletions
|
|
@ -194,7 +194,7 @@
|
|||
lines = [],
|
||||
zScale = this.zScale,
|
||||
buckets = this.buckets,
|
||||
bucket = buckets.length ? buckets[Math.floor(z * zScale)] : points;
|
||||
bucket = buckets.length ? buckets[Math.floor(z * zScale)] : this.points;
|
||||
|
||||
if (onflat) {
|
||||
z += flatoff;
|
||||
|
|
|
|||
Loading…
Reference in a new issue