From e5eaf5236d6e0348b344e0c96c2612b603ff6a3a Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Tue, 19 Jan 2016 02:29:59 +0100 Subject: Scatterplot: one more case where update() should be called. --- scatterplot.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scatterplot.cpp') diff --git a/scatterplot.cpp b/scatterplot.cpp index 7f15eaf..c5678ec 100644 --- a/scatterplot.cpp +++ b/scatterplot.cpp @@ -39,6 +39,7 @@ void Scatterplot::setColorScale(const ColorScale &colorScale) if (m_colorData.n_elem > 0) { m_colorScale.setExtents(m_colorData.min(), m_colorData.max()); m_shouldUpdateMaterials = true; + update(); } } -- cgit v1.2.3