From 2abacd16ba0f3ab9516b6c240ae1621ee6f32971 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Sat, 22 Aug 2015 23:05:14 -0300 Subject: Bugfix: m_currentState was not initialized. This led to inconsistent behavior. Seems to be fixed. --- scatterplot.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scatterplot.cpp b/scatterplot.cpp index 47066fa..964642c 100644 --- a/scatterplot.cpp +++ b/scatterplot.cpp @@ -13,6 +13,7 @@ Scatterplot::Scatterplot(QQuickItem *parent) : QQuickItem(parent) , m_shouldUpdateGeometry(false) , m_shouldUpdateMaterials(false) + , m_currentState(INTERACTION_NONE) , m_colorScale{ QColor("#1f77b4"), QColor("#ff7f0e"), -- cgit v1.2.3