aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2016-01-19 02:29:59 +0100
committerSamuel Fadel <samuelfadel@gmail.com>2016-01-19 02:29:59 +0100
commite5eaf5236d6e0348b344e0c96c2612b603ff6a3a (patch)
treed653837c1b24fb67f2e3c26e7540cc68961bb71f
parent25d8254ae709bbcc05bb6cde07859ab3040369ba (diff)
Scatterplot: one more case where update() should be called.
-rw-r--r--scatterplot.cpp1
1 files changed, 1 insertions, 0 deletions
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();
}
}