mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
Ride Cache - Don't remove 1 sec intervals
Previous behaviour was weird: 1 sec intervals could be created and displayed, but they were discarded on activity save. Also 1 sec intervals are useful for 3 param model fitting.
This commit is contained in:
@@ -952,7 +952,7 @@ RideItem::updateIntervals()
|
||||
continue;
|
||||
|
||||
// skip empty backward intervals
|
||||
if (interval->start >= interval->stop) continue;
|
||||
if (interval->start > interval->stop) continue;
|
||||
|
||||
// create a new interval item
|
||||
const int seq = count; // if passed directly, it could be incremented BEFORE being evaluated for the sequence arg as arg eval order is undefined
|
||||
|
||||
Reference in New Issue
Block a user