isis/src/qisis/objs/RubberBandTool/RubberBandTool.cpp
void RubberBandTool::mouseDoubleClick(QPoint p) {
    p_doubleClicking = true;
    *p_mouseLoc = p;

    switch(p_bandingMode) {
      case AngleMode:
      case CircleMode:
      case EllipseMode:
      case LineMode:
      case RectangleMode:
      case RotatedRectangleMode:
        break;

      case SegmentedLineMode:
      case PolygonMode:
        p_tracking = false;
        repaint();
        emit bandingComplete();
        break;
    }
  }
/**
   * This triggers on a second mouse press. Only polygons care about this, and it signifies an end of
   *   shape. So, if we're in polygon mode, stop tracking the mouse and emit a complete.
   * @param p
   */
This triggers on a second mouse press. Only polygons care about this, and it signifies an end of
shape. So, if we're in polygon mode, stop tracking the mouse and emit a complete.
@param p
This triggers on a second mouse press . Only polygons care about this and it signifies an end of shape . So if we ' re in polygon mode stop tracking the mouse and emit a complete . @param p
void RubberBandTool::mouseDoubleClick(QPoint p) {
    p_doubleClicking = true;
    *p_mouseLoc = p;
    switch(p_bandingMode) {
      case AngleMode:
      case CircleMode:
      case EllipseMode:
      case LineMode:
      case RectangleMode:
      case RotatedRectangleMode:
        break;
      case SegmentedLineMode:
      case PolygonMode:
        p_tracking = false;
        repaint();
        emit bandingComplete();
        break;
    }
  }
void RubberBandTool :: mouseDoubleClick ( QPoint p ) { p_doubleClicking = true ; * p_mouseLoc = p ; switch ( p_bandingMode ) { case AngleMode : case CircleMode : case EllipseMode : case LineMode : case RectangleMode : case RotatedRectangleMode : break ; case SegmentedLineMode : case PolygonMode : p_tracking = false ; repaint ( ) ; emit bandingComplete ( ) ; break ; } }
This triggers on a second mouse press.
This triggers on a second mouse press .