diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c32a0a7cb1730ae2cea8e69d5931c6af707783e..11a401c6656855f5a4b9ef33e0bb96a10b758ac2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -44,6 +44,7 @@ release. - Fixed noproj bug where some temporary files were not deleted after call to cam2cam. Issue: [#4813](https://github.com/USGS-Astrogeology/ISIS3/issues/4813) - Fixed noproj bug where missing shapemodel-related keywords (RayTraceEngine, BulletParts, Tolerance) are dropped when the output label is created. This resulted in the Bullet collision detection engine not being used. Issue: [#5377](https://github.com/USGS-Astrogeology/ISIS3/issues/5377) - Fixed ISIS failing to expand env variables with an "_" in them. [#5402](https://github.com/DOI-USGS/ISIS3/pull/5402) +- Fixed noproj bug where match cube not NULL when not specifying MATCH parameter [#5381](https://github.com/USGS-Astrogeology/ISIS3/issues/5381) ### Added - Added 8 new functions to the Sensor Utility Library: Slant Distance, Target Center Distance, Right Ascension Declination, Local Solar Time, Line Resolution, Sample Resolution, Pixel Resolution, and Solar Longitude. diff --git a/isis/src/base/apps/noproj/noproj.cpp b/isis/src/base/apps/noproj/noproj.cpp index 746b8395b68ce0eaf850d4f0da291f9a93f632d9..c764b7f44885d83be4572edb8c75ffdc4e81fbd8 100644 --- a/isis/src/base/apps/noproj/noproj.cpp +++ b/isis/src/base/apps/noproj/noproj.cpp @@ -46,12 +46,12 @@ namespace Isis { } icube.open(ui.GetCubeName("FROM")); - Cube mcube; + Cube *mcube = NULL; if((ui.WasEntered("MATCH"))) { - mcube.open(ui.GetCubeName("MATCH")); + mcube->open(ui.GetCubeName("MATCH")); } - noproj(&icube, &mcube, ui); + noproj(&icube, mcube, ui); } /**