work around for microscopic objects in workspace
This commit is contained in:
parent
4ceea31750
commit
823e5c78aa
1 changed files with 5 additions and 0 deletions
|
|
@ -162,6 +162,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
/** short-circuit for microscopic and invalid objects */
|
||||
if (zMax == 0 || zSum == 0 || points.length == 0) {
|
||||
return ondone([]);
|
||||
}
|
||||
|
||||
/**
|
||||
* bucket polygons into z-bounded groups (inside or crossing)
|
||||
* to reduce the search space in complex models
|
||||
|
|
|
|||
Loading…
Reference in a new issue