fix restore from .km preserving widget annotations. fix trace ordering for tops that split down. fix support z span
This commit is contained in:
parent
b88c47f6af
commit
125f9cb16b
4 changed files with 72 additions and 30 deletions
|
|
@ -2271,10 +2271,11 @@
|
|||
}
|
||||
}
|
||||
if (isSettings) {
|
||||
clearWorkspace();
|
||||
settings = CONF.normalize(data.settings);
|
||||
SDB.setItem('ws-settings', JSON.stringify(settings));
|
||||
if (LOCAL) console.log('settings',Object.clone(settings));
|
||||
restoreSettings();
|
||||
if (LOCAL) console.log('settings',Object.clone(settings));
|
||||
if (isWork) {
|
||||
API.platform.clear();
|
||||
KIRI.codec.decode(data.work).forEach(widget => {
|
||||
|
|
@ -2416,7 +2417,6 @@
|
|||
|
||||
function restoreSettings(save) {
|
||||
let newset = ls2o('ws-settings') || settings;
|
||||
|
||||
settings = CONF.normalize(newset);
|
||||
// override camera from settings
|
||||
if (settings.controller.view) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue