Skip to content

Commit

Permalink
Fix json converting linear deltas and adjust frame type if frame is l…
Browse files Browse the repository at this point in the history
…arger
  • Loading branch information
KillzXGaming committed Oct 18, 2024
1 parent c32dbd9 commit 62199c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Plugins/CafeLibrary/Bfres/Editing/Nodes/SceneAnimFolder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,9 @@ private void AddCameraAnim(bool isEuler)
AspectRatio = 1.4999471f, //16:9
Twist = 0.0f,
}};

if (isEuler)
anim.Flags |= CameraAnimFlags.EulerZXY;
anim.Flags = CameraAnimFlags.EulerZXY;

anim.Name = Utils.RenameDuplicateString(anim.Name, SceneAnim.CameraAnims.Keys.Select(x => x).ToList());
SceneAnim.CameraAnims.Add(anim.Name, anim);
Expand Down
Binary file modified Track Studio/Lib/BfresLibrary.dll
Binary file not shown.

0 comments on commit 62199c0

Please sign in to comment.