mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-27 10:44:26 +02:00
Update engine.ts
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user