diff data/model/RegionModel.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
line wrap: on
line diff
--- a/data/model/RegionModel.h	Wed Apr 03 16:03:39 2019 +0100
+++ b/data/model/RegionModel.h	Wed Apr 03 16:04:03 2019 +0100
@@ -63,7 +63,7 @@
         m_resolution(resolution),
         m_valueMinimum(valueMinimum),
         m_valueMaximum(valueMaximum),
-        m_haveExtents(false),
+        m_haveExtents(true),
         m_valueQuantization(0),
         m_haveDistinctValues(false),
         m_notifier(this,