Commit 69b9da7b authored by Jesse Mapel's avatar Jesse Mapel
Browse files

Fixed control net health monitor counters not working correctly.

parent c7f80285
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -287,6 +287,12 @@ namespace Isis {
    }

    m_pointTypeCounts[point->GetType()]--;

    int numValidMeasures= point->GetNumValidMeasures();
    if ( --m_pointMeasureCounts[numValidMeasures] < 1 ) {
      m_pointMeasureCounts.remove(numValidMeasures);
    }

    validate();
  }

+4 −5
Original line number Diff line number Diff line
@@ -59,6 +59,8 @@ namespace Isis {
  *    @history 2018-06-25 Kristin Berry - Fixed problem with getImagesBelowMeasureThreshold().size()
  *                            not matching numImagesBelowMeasureThreshold(). Fixed a similar
  *                            problem with numPointsBelowMeasureThreshold().
  *    @history 2018-07-03 Jesse Mapel - Fixed deleting control points not properly updating the
  *                            point counters.
  */
  class ControlNetVitals : public QObject {
    Q_OBJECT
@@ -124,9 +126,6 @@ namespace Isis {
    private:
      void addMeasureToCounts(ControlMeasure *measure);
      void removeMeasureFromCounts(ControlMeasure *measure);
      // TESTING JAM
      QString countersToString();
      // TESTING JAM

      //! The Control Network that the vitals class is observing.
      ControlNet *m_controlNet;