mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-13 21:05:54 +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: [],
|
||||
};
|
||||
|
||||
@@ -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',
|
||||
}, {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user