mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-13 23:25:41 +02:00
wip
This commit is contained in:
@@ -178,7 +178,13 @@ function onKeydown(ev: KeyboardEvent) {
|
||||
} else if (ev.code === 'Tab') {
|
||||
ev.preventDefault();
|
||||
ev.stopPropagation();
|
||||
toggleEditMode();
|
||||
if (isEditMode.value) {
|
||||
engine.value.exitEditMode();
|
||||
isEditMode.value = false;
|
||||
} else {
|
||||
engine.value.enterEditMode();
|
||||
isEditMode.value = true;
|
||||
}
|
||||
} else if (ev.code === 'KeyZ') {
|
||||
ev.preventDefault();
|
||||
ev.stopPropagation();
|
||||
|
||||
@@ -748,9 +748,7 @@ export class RoomEngine {
|
||||
public async init() {
|
||||
await this.loadRoomModel();
|
||||
await this.loadEnvModel();
|
||||
// beamLampがあるとなぜかclustered lightがエラーになる
|
||||
// https://forum.babylonjs.com/t/anisotropy-with-clusteredlightcontainer-bug/63040
|
||||
await Promise.all(this.roomState.installedObjects.filter(o => o.type !== 'beamLamp').map(o => this.loadObject({
|
||||
await Promise.all(this.roomState.installedObjects.map(o => this.loadObject({
|
||||
id: o.id,
|
||||
type: o.type,
|
||||
position: new BABYLON.Vector3(...o.position),
|
||||
|
||||
Reference in New Issue
Block a user