Commit 97aa82b0 authored by Kaitlyn Lee's avatar Kaitlyn Lee
Browse files

Reworded comments for clarification.

parent 3d9aaafd
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -208,8 +208,9 @@ namespace Isis {
    m_status = WorkOrderFinished;
    m_readProgresses.clear();

    // If one control network was imported, then activeControl() will set the
    // active control to that control network
    // If one control network was imported, no active control has been set, and no
    // other control networks exist in the project, then activeControl() will set
    // the active control to the newly imported control network.
    project()->activeControl();
  }

+3 −6
Original line number Diff line number Diff line
@@ -320,15 +320,12 @@ namespace Isis {
   * A slot function that is called when directory emits a siganl that an active
   * control network is set. It enables the control network editor tool in the
   * toolpad and loads the network.
   * TODO 2018-06-14 Kaitlyn Lee - Commented out code that loads the network,
   * since it does not actually load the network. Left it here to research further.
   * We do not load the network here because the network does not open until
   * the tool is enabled. This is done in MosaicControlNetTool::updateTool() and
   * is connected in MosaicTool.
   */
  void Footprint2DView::enableControlNetTool(bool value) {
    m_controlNetTool->setEnabled(value);
    // if (value) {
    //   MosaicControlNetTool *cnetTool = static_cast<MosaicControlNetTool *>(m_controlNetTool->parent());
    //   cnetTool->loadNetwork();
    // }
  }

  /**