Skip to content

Commit

Permalink
Fixed sequence detection in tlRender.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Oct 23, 2023
1 parent 30eb1e7 commit f97703f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions mrv2/lib/mrvEdit/mrvEditCallbacks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,7 @@ namespace mrv

// Then, adjust the annotations within the range.
std::set<std::shared_ptr<draw::Annotation>> skipAnnotations;
for (auto annotation : annotations)
for (auto& annotation : annotations)
{
if (annotation->allFrames)
continue;
Expand All @@ -1290,7 +1290,7 @@ namespace mrv
// Finally, move the annotations.
if (previous)
{
for (auto annotation : annotations)
for (auto& annotation : annotations)
{
if (annotation->allFrames)
continue;
Expand All @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion tlRender

0 comments on commit f97703f

Please sign in to comment.