apply workspace unit scale to dropped loaded STLs

This commit is contained in:
Stewart Allen 2020-12-13 09:55:30 -05:00
commit f10879edda
7 changed files with 39 additions and 18 deletions

View file

@ -44,7 +44,10 @@
js2o = API.js2o,
o2js = API.o2js,
platform = API.platform,
selection = API.selection;
selection = API.selection,
proto = location.protocol,
root = "grid.space",
ver = Date.now().toString(36);
let currentDevice = null,
deviceURL = null,
@ -1331,6 +1334,8 @@
function init_one() {
API.event.emit('init.one');
$('gsbox').src = `${proto}//${root}/kiri/gsbox.png?ver=${ver}`;
// ensure we have settings from last session
API.conf.restore();