1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-27 08:24:26 +02:00

Update engine.ts

This commit is contained in:
syuilo
2026-04-21 08:53:18 +09:00
parent 60a2cd9306
commit 97439d7718

View File

@@ -530,7 +530,7 @@ export class RoomEngine extends EventEmitter<RoomEngineEvents> {
animTarget.setEasingFunction(easing); animTarget.setEasingFunction(easing);
this.camera.animations.push(animTarget); this.camera.animations.push(animTarget);
this.scene.beginAnimation(this.camera, 0, 30, false, undefined, () => { this.scene.beginAnimation(this.camera, 0, 30, false, undefined, () => {
if (SNAPSHOT_RENDERING) { // 視点が動くとアウトラインが薄くなるのでリセット if (SNAPSHOT_RENDERING) { // 視点が動くとアウトラインが薄くなるのでリセット (babylonのバグ)
this.sr.disableSnapshotRendering(); this.sr.disableSnapshotRendering();
this.sr.enableSnapshotRendering(); this.sr.enableSnapshotRendering();
} }