Apply fix tools early

.. when opening a file and they are 'auto' so the results can
   be used by the derived tool (does NP etc)
This commit is contained in:
Mark Liversedge
2014-08-29 16:29:53 +01:00
parent 0730f467be
commit 1714e2fbc8

View File

@@ -475,11 +475,11 @@ RideFile *RideFileFactory::openRideFile(Context *context, QFile &file,
}
}
// calculate derived data series
result->recalculateDerivedSeries();
DataProcessorFactory::instance().autoProcess(result);
// calculate derived data series -- after data fixers applied above
result->recalculateDerivedSeries();
// what data is present - after processor in case 'derived' or adjusted
QString flags;