Ref T259, Ref T243 removed interpolation hints

* no longer needed with providers in that form
* pure refactoring commit, just guarantees compilation
* already minor adjustments to use providers
This commit is contained in:
Klaus Basan
2018-03-20 20:15:26 +01:00
parent 476768f6ec
commit 0c06ac26f7
37 changed files with 140 additions and 586 deletions

View File

@@ -439,11 +439,8 @@ namespace BlackSimPlugin
CInterpolatorMulti *im = m_interpolators[cs];
CInterpolationStatus statusInterpolation;
CPartsStatus statusParts;
CInterpolationHints hints;
Q_ASSERT_X(im, Q_FUNC_INFO, "interpolator missing");
if (m_hints.contains(cs)) { hints = m_hints[cs]; }
hints.setLoggingInterpolation(log);
const CAircraftSituation s = im->getInterpolatedSituation(now, setup, hints, statusInterpolation);
const CAircraftSituation s = im->getInterpolatedSituation(now, setup, statusInterpolation);
const CAircraftParts p = im->getInterpolatedParts(now, setup, statusParts, log);
m_countInterpolatedParts++;
m_countInterpolatedSituations++;