##// END OF EJS Templates
Updates variable attribute when data series is changing
Alexandre Leroux -
r661:a1a7563eadb0
parent child
Show More
@@ -41,8 +41,11 struct Variable::VariablePrivate {
41 m_DataSeries->purge(m_CacheRange.m_TStart, m_CacheRange.m_TEnd);
41 m_DataSeries->purge(m_CacheRange.m_TStart, m_CacheRange.m_TEnd);
42 }
42 }
43 updateRealRange();
43 updateRealRange();
44 updateNbPoints();
44 }
45 }
45
46
47 void updateNbPoints() { m_NbPoints = m_DataSeries ? m_DataSeries->nbPoints() : 0; }
48
46 /// Updates real range according to current variable range and data series
49 /// Updates real range according to current variable range and data series
47 void updateRealRange()
50 void updateRealRange()
48 {
51 {
General Comments 0
You need to be logged in to leave comments. Login now