comparison data/model/SparseTimeValueModel.h @ 1684:95396c9382e3 single-point

m_haveExtents should be true when extents are set explicitly, otherwise they'll get overridden when a point is added
author Chris Cannam
date Wed, 03 Apr 2019 16:04:03 +0100
parents 0d89abd631ac
children 73077ec5aed6
comparison
equal deleted inserted replaced
1683:e4f31f506116 1684:95396c9382e3
62 bool notifyOnAdd = true) : 62 bool notifyOnAdd = true) :
63 m_sampleRate(sampleRate), 63 m_sampleRate(sampleRate),
64 m_resolution(resolution), 64 m_resolution(resolution),
65 m_valueMinimum(valueMinimum), 65 m_valueMinimum(valueMinimum),
66 m_valueMaximum(valueMaximum), 66 m_valueMaximum(valueMaximum),
67 m_haveExtents(false), 67 m_haveExtents(true),
68 m_haveTextLabels(false), 68 m_haveTextLabels(false),
69 m_notifier(this, 69 m_notifier(this,
70 notifyOnAdd ? 70 notifyOnAdd ?
71 DeferredNotifier::NOTIFY_ALWAYS : 71 DeferredNotifier::NOTIFY_ALWAYS :
72 DeferredNotifier::NOTIFY_DEFERRED), 72 DeferredNotifier::NOTIFY_DEFERRED),