Commit a3abae09 authored by Kristin Berry's avatar Kristin Berry
Browse files

Updated MosaicSceneItem to work with a longitude domain of 180 correctly, so...

Updated MosaicSceneItem to work with a longitude domain of 180 correctly, so qmos will display footprints crossing the -180/180 boundary correctly. Fixes #2208

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/trunk@6205 41f8697f-d340-4b68-9986-7bafba869bb8
parent 256e69b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -235,7 +235,7 @@ namespace Isis {
      for (unsigned int j = 0; j < pts->getSize(); j++) {
        lat = pts->getY(j);
        lon = pts->getX(j);
        if (proj->SetUniversalGround(lat, lon)) {
        if (proj->SetGround(lat, lon)) {
          double x = proj->XCoord();
          double y = -1 * (proj->YCoord());

+3 −0
Original line number Diff line number Diff line
@@ -39,6 +39,9 @@ namespace Isis {
   *                      CubeDisplayProperties so duplicate work is not done.
   *  @history 2011-05-17 Steven Lambright Labels auto-rotate by 90 degrees
   *                      once again
   *  @history 2015-05-27 Kristin Berry Updated to work with
   *                      longitude domain = 180 correctly. Fixes
   *                      #2208.
   */
  class MosaicSceneItem : public QGraphicsObject {
      Q_OBJECT