fix non-outlined supports

This commit is contained in:
Stewart Allen 2021-08-30 15:05:29 -04:00
commit 3e8e9e3455
3 changed files with 13 additions and 6 deletions

View file

@ -1060,7 +1060,7 @@ console.log/** Copyright Stewart Allen <sa@grid.space> -- All Rights Reserved */
factor = (widget.getVertices().count / defvert);
// compensate for zcut (widget moved through floor)
widget.stack.obj.view.position.z = widget.track.zcut;
widget.stack.obj.view.position.z = widget.track.zcut || 0;
widget.slice(settings, function(sliced, error) {
widget.rotinfo = null;

View file

@ -903,7 +903,7 @@
if (!near && !found) {
if (start === 0 && lastIndex === -1) {
console.log('infinite loop', lines, {
marked, options, i, group, start, lastIndex,
marked, i, group, start, lastIndex,
points: lines.map(p => p.index).join(', ')
});
break;