mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 00:49:55 +00:00
RideFile::isRun() -- only use the "Run" tag to clasify a file as running
For multi-sport files, the bike section might record vertical oscillation or ground contact time from the HRM-RUN sensor when moving in and out of transition.
This commit is contained in:
@@ -148,8 +148,7 @@ RideFile::isRun() const
|
||||
{
|
||||
// for now we just look at Sport and if there are any
|
||||
// running specific data series in the data
|
||||
return (getTag("Sport", "") == "Run" || getTag("Sport", "") == tr("Run")) ||
|
||||
(areDataPresent()->rvert || areDataPresent()->rcad || areDataPresent()->rcontact);
|
||||
return (getTag("Sport", "") == "Run" || getTag("Sport", "") == tr("Run"));
|
||||
}
|
||||
|
||||
bool
|
||||
|
||||
Reference in New Issue
Block a user