Fix: fix #1779, add check to prevent similar errors

This commit is contained in:
Pieter Vander Vennet 2024-02-12 14:14:25 +01:00
parent 94bc6ee31d
commit 417dc1633e
5 changed files with 33 additions and 11 deletions

View file

@ -275,12 +275,7 @@ class ClosestNObjectFunc implements ExtraFunction {
allFeatures.push([spec])
}
}
console.log(
"Determining features which are close to",
features,
"other features:",
allFeatures
)
if (features === undefined) {
return
}