Unverified Commit d478869f authored by Kelvin Rodriguez's avatar Kelvin Rodriguez Committed by GitHub
Browse files

Fix #631 Map2Map creating null images (#4379)

* Added check to make small images use slowgeom instead

* comment

* Changelog add
parent aab0e630
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -73,6 +73,7 @@ release.
- Fixed history entry not being added to a cube when running spiceinit with web=true. [4040](https://github.com/USGS-Astrogeology/ISIS3/issues/4040)
- Updated wavelength and bandbin values in translation files for the TGO CaSSIS BandBin group. [4147](https://github.com/USGS-Astrogeology/ISIS3/issues/4147)
- Fixed the JunoCam serialNumber translation using an old keyword. [4341](https://github.com/USGS-Astrogeology/ISIS3/issues/4341)
- Fixed map2map bug where small images would return all null image [#632](https://github.com/USGS-Astrogeology/ISIS3/issues/631)

## [4.3.0] - 2020-10-02

+3 −1
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ find files of those names at the top level of this repository. **/
/* SPDX-License-Identifier: CC0-1.0 */
#include <iostream>
#include <iomanip>
#include <algorithm>

#include <QVector>

@@ -175,7 +176,8 @@ namespace Isis {
        for (int band = 1; band <= OutputCubes[0]->bandCount(); band++) {
          otile.SetTile(tile, band);

          if (p_startQuadSize <= 2) {
          // If either image or quad sizes are small, skip to SlowGeom. 
          if (p_startQuadSize <= 2 || min(OutputCubes[0]->lineCount(), OutputCubes[0]->sampleCount()) <= p_startQuadSize) {
            SlowGeom(otile, iportal, trans, interp);
          }
          else {