isis/src/qisis/objs/RubberBandTool/RubberBandTool.cpp
void RubberBandTool::enable(RubberBandMode mode, bool showIndicatorColors) {
    RubberBandMode oldMode = p_bandingMode;
    p_bandingMode = mode;
    p_indicatorColors = showIndicatorColors;
    //Took this out because it was reseting and not letting us plot single points.
    //p_pointTolerance = 0;
    p_allClicks = false;
    p_drawActiveOnly = false;
    reset();
    activate(true);

    if(oldMode != mode) {
      emit modeChanged();
    }
  }
/**
   * This is called when changing modes or turning on. So, set the mode, reset, and activate
   *   our event handlers.
   *
   * @param mode
   * @param showIndicatorColors Color the first side of figures differently
   */
This is called when changing modes or turning on. So, set the mode, reset, and activate
our event handlers.

@param mode
@param showIndicatorColors Color the first side of figures differently
This is called when changing modes or turning on . So set the mode reset and activate our event handlers . @param mode @param showIndicatorColors Color the first side of figures differently
void RubberBandTool::enable(RubberBandMode mode, bool showIndicatorColors) {
    RubberBandMode oldMode = p_bandingMode;
    p_bandingMode = mode;
    p_indicatorColors = showIndicatorColors;
    p_allClicks = false;
    p_drawActiveOnly = false;
    reset();
    activate(true);
    if(oldMode != mode) {
      emit modeChanged();
    }
  }
void RubberBandTool :: enable ( RubberBandMode mode , bool showIndicatorColors ) { RubberBandMode oldMode = p_bandingMode ; p_bandingMode = mode ; p_indicatorColors = showIndicatorColors ; p_allClicks = false ; p_drawActiveOnly = false ; reset ( ) ; activate ( true ) ; if ( oldMode != mode ) { emit modeChanged ( ) ; } }
This is called when changing modes or turning on.
This is called when changing modes or turning on .
//Took this out because it was reseting and not letting us plot single points. //p_pointTolerance = 0;