mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-21 06:25:42 +02:00
wip
This commit is contained in:
@@ -222,6 +222,7 @@ const data = localStorage.getItem('roomData') != null ? JSON.parse(localStorage.
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
roomLightColor: [1.0, 0.9, 0.8],
|
||||||
installedObjects: [],
|
installedObjects: [],
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -570,6 +571,19 @@ function showOtherMenu(ev: PointerEvent) {
|
|||||||
}, {
|
}, {
|
||||||
text: 'Import',
|
text: 'Import',
|
||||||
action: impor,
|
action: impor,
|
||||||
|
}, {
|
||||||
|
text: 'Delete',
|
||||||
|
danger: true,
|
||||||
|
action: () => {
|
||||||
|
os.confirm({
|
||||||
|
type: 'warning',
|
||||||
|
title: i18n.ts.areYouSure,
|
||||||
|
}).then(({ canceled }) => {
|
||||||
|
if (canceled) return;
|
||||||
|
localStorage.removeItem('roomData');
|
||||||
|
window.location.reload();
|
||||||
|
});
|
||||||
|
},
|
||||||
}, {
|
}, {
|
||||||
type: 'divider',
|
type: 'divider',
|
||||||
}, {
|
}, {
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ export type ObjectDef<OpSc extends OptionsSchema = OptionsSchema> = {
|
|||||||
placement: 'top' | 'side' | 'bottom' | 'wall' | 'ceiling' | 'floor';
|
placement: 'top' | 'side' | 'bottom' | 'wall' | 'ceiling' | 'floor';
|
||||||
hasCollisions?: boolean;
|
hasCollisions?: boolean;
|
||||||
hasTexture?: boolean;
|
hasTexture?: boolean;
|
||||||
canPreMeshesMerging?: boolean;
|
canPreMeshesMerging?: boolean; // TODO: 除外するメッシュ名を指定できるようにする
|
||||||
//groupingMeshes: string[]; // multi-materialなメッシュは複数のメッシュに分割されるが、それだと不便な場合に追加の親メッシュでグルーピングするための指定
|
//groupingMeshes: string[]; // multi-materialなメッシュは複数のメッシュに分割されるが、それだと不便な場合に追加の親メッシュでグルーピングするための指定
|
||||||
isChair?: boolean;
|
isChair?: boolean;
|
||||||
treatLoaderResult?: (loaderResult: BABYLON.AssetContainer) => void;
|
treatLoaderResult?: (loaderResult: BABYLON.AssetContainer) => void;
|
||||||
|
|||||||
Reference in New Issue
Block a user