From f97703ff3265bfabbf3496974e69e964b11634ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Garramu=C3=B1o?= Date: Mon, 23 Oct 2023 08:31:15 -0300 Subject: [PATCH] Fixed sequence detection in tlRender. --- mrv2/lib/mrvEdit/mrvEditCallbacks.cpp | 6 +++--- tlRender | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mrv2/lib/mrvEdit/mrvEditCallbacks.cpp b/mrv2/lib/mrvEdit/mrvEditCallbacks.cpp index c192e1ace..8042d997d 100644 --- a/mrv2/lib/mrvEdit/mrvEditCallbacks.cpp +++ b/mrv2/lib/mrvEdit/mrvEditCallbacks.cpp @@ -1274,7 +1274,7 @@ namespace mrv // Then, adjust the annotations within the range. std::set> skipAnnotations; - for (auto annotation : annotations) + for (auto& annotation : annotations) { if (annotation->allFrames) continue; @@ -1290,7 +1290,7 @@ namespace mrv // Finally, move the annotations. if (previous) { - for (auto annotation : annotations) + for (auto& annotation : annotations) { if (annotation->allFrames) continue; @@ -1307,7 +1307,7 @@ namespace mrv else { auto endTime = range.end_time_exclusive(); - for (auto annotation : annotations) + for (auto& annotation : annotations) { if (annotation->allFrames) continue; diff --git a/tlRender b/tlRender index 8d4c93b7d..324295e4a 160000 --- a/tlRender +++ b/tlRender @@ -1 +1 @@ -Subproject commit 8d4c93b7d16ef4dd14356f3971cfa49b21ace05c +Subproject commit 324295e4a3752d52f39c4c7541e3d446212d8846