isis/src/qisis/objs/MosaicSceneWidget/MosaicGridTool.cpp
void MosaicGridTool::onCubesChanged() {
    if (m_previousBoundingRect != getWidget()->cubesBoundingRect()) {
      emit boundingRectChanged();
      autoGrid(m_autoGridCheckBox->isChecked());

      //Make sure that the grid is updated the first time new cubes are opened.
      getWidget()->getView()->update();
      QApplication::processEvents();
    }
  }
/**
   * Determines whether or not the bounding rectangle was changed by the addition
   *   or removal of cubes. If it wasn't changed, the grid is not redrawn. If it
   *   was (and autogrid is checked), the grid is redrawn with new lat/lon
   *   increments.
   *
   */
Determines whether or not the bounding rectangle was changed by the addition
or removal of cubes. If it wasn't changed, the grid is not redrawn. If it
was (and autogrid is checked), the grid is redrawn with new lat/lon
increments.
Determines whether or not the bounding rectangle was changed by the addition or removal of cubes . If it wasn ' t changed the grid is not redrawn . If it was ( and autogrid is checked ) the grid is redrawn with new lat / lon increments .
void MosaicGridTool::onCubesChanged() {
    if (m_previousBoundingRect != getWidget()->cubesBoundingRect()) {
      emit boundingRectChanged();
      autoGrid(m_autoGridCheckBox->isChecked());
      getWidget()->getView()->update();
      QApplication::processEvents();
    }
  }
void MosaicGridTool :: onCubesChanged ( ) { if ( m_previousBoundingRect != getWidget ( ) -> cubesBoundingRect ( ) ) { emit boundingRectChanged ( ) ; autoGrid ( m_autoGridCheckBox -> isChecked ( ) ) ; getWidget ( ) -> getView ( ) -> update ( ) ; QApplication :: processEvents ( ) ; } }
Determines whether or not the bounding rectangle was changed by the addition
   or removal of cubes.
Determines whether or not the bounding rectangle was changed by the addition or removal of cubes .
//Make sure that the grid is updated the first time new cubes are opened.