fix contour filter error
This commit is contained in:
parent
581df0e84f
commit
5e0201d68e
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ function createFilter(op, origin, axis) {
|
|||
let index = 0;
|
||||
const accept = [];
|
||||
filter = function (slices) {
|
||||
for (let slice of slices) {
|
||||
for (let slice of slices.filter(s => s.camLines)) {
|
||||
if (slice_fn && slice_fn(slice, index++)) {
|
||||
accept.push(slice);
|
||||
} else if (box) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue