fix dogbones bug

This commit is contained in:
Stewart Allen 2022-01-16 11:21:03 -05:00
commit c4899c7261
2 changed files with 1 additions and 2 deletions

View file

@ -218,7 +218,6 @@
} }
} }
poly.points = newpts; poly.points = newpts;
poly.length = newpts.length;
if (poly.inner) { if (poly.inner) {
CAM.addDogbones(poly.inner, dist, true); CAM.addDogbones(poly.inner, dist, true);
} }

View file

@ -2499,7 +2499,7 @@
CATALOG.addFileListener(updateCatalog); CATALOG.addFileListener(updateCatalog);
SPACE.view.setZoom(control.reverseZoom, control.zoomSpeed); SPACE.view.setZoom(control.reverseZoom, control.zoomSpeed);
SPACE.platform.setGridZOff(undefined); SPACE.platform.setGridZOff(undefined);
SPACE.platform.setZOff(0.01); SPACE.platform.setZOff(0.05);
// restore UI state from settings // restore UI state from settings
UI.showOrigin.checked = control.showOrigin; UI.showOrigin.checked = control.showOrigin;