Unverified Commit 644fea3f authored by Tim Giroux's avatar Tim Giroux Committed by GitHub
Browse files

Resolve Test Failure: ThreeImageNetwork.FunctionalTestCnetcheckCamera (SEGFAULT) (#4035)

* protect for null vals before SetImage

* check for null, not special
parent f41237c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -635,7 +635,7 @@ namespace Isis {

          // Check the exact measure location
          bool setCamera = false;
          if (createdCamera) {
          if (createdCamera && measure->GetSample() != Null && measure->GetLine() != Null) {
            setCamera = cam->SetImage(measure->GetSample(), measure->GetLine());
          }