Commit ac6bcd49 authored by Kaitlyn Lee's avatar Kaitlyn Lee
Browse files

Removed units on look direction vectors and updated history.

parent 045b9615
Loading
Loading
Loading
Loading
+29 −24
Original line number Diff line number Diff line
@@ -173,6 +173,11 @@ void writePoints(const UserInterface &ui, QList<PvlGroup*> camPoints) {
    prog.CheckStatus();
    point = camPoints[p];

    // Remove units on look direction vectors
    point -> findKeyword("LookDirectionBodyFixed").setUnits("");
    point -> findKeyword("LookDirectionJ2000").setUnits("");
    point -> findKeyword("LookDirectionCamera").setUnits("");

    // write to output file
    if (ui.WasEntered("TO")) {
      // Write the pvl group out to the file
@@ -189,7 +194,6 @@ void writePoints(const UserInterface &ui, QList<PvlGroup*> camPoints) {
          temp.write(outFile);
        }
     }
      
      // Create a flatfile from PVL data
      // The flatfile is comma delimited and can be imported into Excel
      else {
@@ -252,6 +256,7 @@ void writePoints(const UserInterface &ui, QList<PvlGroup*> camPoints) {
        throw IException(IException::User, msg, _FILEINFO_);
      }
    }

    // we still want to output the results
    Application::Log((*point));
    delete point;
+83 −80
Original line number Diff line number Diff line
@@ -217,6 +217,9 @@ End_Group
      setting of "false". In addition, corrected behavior where
      manually setting "allowoutside" to "false" was ignored. Ref # 2258.
    </change>
    <change name="Kaitlyn Lee" date="2018-02-16">
      Removed units on look direction vectors to make them unitless. Fixes #5125.
    </change>
  </history>

  <oldName>