From 355bea44d918399ba2bae22c5366e98f182d2ebb Mon Sep 17 00:00:00 2001 From: Jonathan Thomas Date: Tue, 18 Nov 2025 13:43:40 -0600 Subject: [PATCH] Fixing small regression on initial rotation keyframes from our previous commit. --- src/Clip.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Clip.cpp b/src/Clip.cpp index d85ca591..b385ec53 100644 --- a/src/Clip.cpp +++ b/src/Clip.cpp @@ -149,8 +149,11 @@ void Clip::init_reader_rotation() { return; const auto rotate_meta = reader->info.metadata.find("rotate"); - if (rotate_meta == reader->info.metadata.end()) + if (rotate_meta == reader->info.metadata.end()) { + // Ensure rotation keyframes always start with a default 0° point. + rotation = Keyframe(0.0f); return; + } float rotate_angle = 0.0f; try {