apply workspace unit scale to dropped loaded STLs
This commit is contained in:
parent
40dbbd2e60
commit
f10879edda
7 changed files with 39 additions and 18 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue