Commit 96fd809f authored by Stuart Sides's avatar Stuart Sides Committed by Jesse Mapel
Browse files

Closed cube file and deleted cube after propagating tables (#3899)

parent afd5a1e8
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -13,7 +13,9 @@ namespace Isis{
  Cube *mcube;
  Camera *outcam;


  void map2cam_f(UserInterface &ui) {

    // Open the input camera cube that we will be matching and create
    // the camera object
    FileName match = FileName(ui.GetFileName("MATCH"));
@@ -75,6 +77,8 @@ namespace Isis{
    // Cleanup
    delete transform;
    delete interp;

    p.EndProcess();
  }

  // Transform object constructor
+2 −0
Original line number Diff line number Diff line
@@ -629,6 +629,8 @@ namespace Isis {
        }
      }
    }
    fromCube->close();
    delete fromCube;
  }

  /**
+1 −0
Original line number Diff line number Diff line
@@ -154,6 +154,7 @@ namespace Isis {
   *                          empty QList is provided to this parameter which will propagate all
   *                          tables. Updated unitTest to test this change. References #4433.
   *  @history 2018-07-27 Kaitlyn Lee - Added unsigned/signed integer pixel type handling.
   *  @history 2020-06-06 Stuart Sides - Closed cube file used to propagte tables.
   */
  class Process {
    protected: