1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-13 21:05:54 +02:00
This commit is contained in:
syuilo
2026-05-01 10:02:39 +09:00
parent ebe5739ce3
commit 3ed6148f6a
2 changed files with 15 additions and 1 deletions

View File

@@ -222,6 +222,7 @@ const data = localStorage.getItem('roomData') != null ? JSON.parse(localStorage.
},
},
},
roomLightColor: [1.0, 0.9, 0.8],
installedObjects: [],
};
@@ -570,6 +571,19 @@ function showOtherMenu(ev: PointerEvent) {
}, {
text: 'Import',
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',
}, {

View File

@@ -107,7 +107,7 @@ export type ObjectDef<OpSc extends OptionsSchema = OptionsSchema> = {
placement: 'top' | 'side' | 'bottom' | 'wall' | 'ceiling' | 'floor';
hasCollisions?: boolean;
hasTexture?: boolean;
canPreMeshesMerging?: boolean;
canPreMeshesMerging?: boolean; // TODO: 除外するメッシュ名を指定できるようにする
//groupingMeshes: string[]; // multi-materialなメッシュは複数のメッシュに分割されるが、それだと不便な場合に追加の親メッシュでグルーピングするための指定
isChair?: boolean;
treatLoaderResult?: (loaderResult: BABYLON.AssetContainer) => void;