Skip to content

Commit

Permalink
Fixed rounding.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Apr 8, 2024
1 parent 2213a84 commit e07d318
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mrv2/lib/mrvGL/mrvTimelineWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -597,9 +597,10 @@ namespace mrv
{
p.annotationTimes = times;
std::vector<int> markers;
markers.reserve(times.size());
for (const auto& time : times)
{
markers.push_back(time.value());
markers.push_back(std::round(time.value()));
}
p.timelineWidget->setFrameMarkers(markers);
}
Expand Down

0 comments on commit e07d318

Please sign in to comment.