catch a rare widget with missing slices (cause unknown)

This commit is contained in:
Stewart Allen 2021-04-26 21:01:20 -04:00
commit ea1a228d5b

View file

@ -200,7 +200,7 @@
tops = slice.topPolys();
for (let peer of widget.group) {
// skip self
if (peer === widget) {
if (peer === widget || !peer.slices) {
continue;
}
for (let pslice of peer.slices) {