mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
Update engine.ts
This commit is contained in:
parent
bbff43e9e6
commit
be434949a4
1 changed files with 9 additions and 7 deletions
|
|
@ -462,14 +462,16 @@ export class RoomEngine extends EventEmitter<RoomEngineEvents> {
|
|||
// 不具合のもと
|
||||
//this.scene.blockMaterialDirtyMechanism = true;
|
||||
|
||||
if (SNAPSHOT_RENDERING) {
|
||||
// 早く有効にしすぎることが原因かは不明だがクラッシュすることがあるので遅らせてみる
|
||||
setTimeout(() => {
|
||||
this.sr.enableSnapshotRendering();
|
||||
}, 100);
|
||||
}
|
||||
this.scene.executeWhenReady(() => {
|
||||
if (SNAPSHOT_RENDERING) {
|
||||
// 早く有効にしすぎることが原因かは不明だがクラッシュすることがあるので遅らせてみる
|
||||
setTimeout(() => {
|
||||
this.sr.enableSnapshotRendering();
|
||||
}, 100);
|
||||
}
|
||||
|
||||
this.startRenderLoop();
|
||||
this.startRenderLoop();
|
||||
});
|
||||
|
||||
this.domEvents.on('keydown', (ev) => {
|
||||
if (ev.code === 'KeyE') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue