mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-22 11:44:10 +02:00
Update engine.ts
This commit is contained in:
@@ -462,14 +462,16 @@ export class RoomEngine extends EventEmitter<RoomEngineEvents> {
|
|||||||
// 不具合のもと
|
// 不具合のもと
|
||||||
//this.scene.blockMaterialDirtyMechanism = true;
|
//this.scene.blockMaterialDirtyMechanism = true;
|
||||||
|
|
||||||
if (SNAPSHOT_RENDERING) {
|
this.scene.executeWhenReady(() => {
|
||||||
// 早く有効にしすぎることが原因かは不明だがクラッシュすることがあるので遅らせてみる
|
if (SNAPSHOT_RENDERING) {
|
||||||
setTimeout(() => {
|
// 早く有効にしすぎることが原因かは不明だがクラッシュすることがあるので遅らせてみる
|
||||||
this.sr.enableSnapshotRendering();
|
setTimeout(() => {
|
||||||
}, 100);
|
this.sr.enableSnapshotRendering();
|
||||||
}
|
}, 100);
|
||||||
|
}
|
||||||
|
|
||||||
this.startRenderLoop();
|
this.startRenderLoop();
|
||||||
|
});
|
||||||
|
|
||||||
this.domEvents.on('keydown', (ev) => {
|
this.domEvents.on('keydown', (ev) => {
|
||||||
if (ev.code === 'KeyE') {
|
if (ev.code === 'KeyE') {
|
||||||
|
|||||||
Reference in New Issue
Block a user