Changeset 7382 for trunk/psModules/src/camera/pmFPARead.c
- Timestamp:
- Jun 6, 2006, 5:27:52 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPARead.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPARead.c
r7311 r7382 8 8 #include "pmHDUUtils.h" 9 9 #include "pmConcepts.h" 10 #include "psRegionIsBad.h"11 10 #include "pmFPAHeader.h" 12 11 … … 33 32 34 33 // The image corresponding to the trim region 35 if (psRegionIs Bad(*trimsec)) {34 if (psRegionIsNaN(*trimsec)) { 36 35 psString regionString = psRegionToString(*trimsec); 37 36 psError(PS_ERR_UNKNOWN, true, "Invalid trim section: %s\n", regionString); … … 59 58 psRegion *biassec = NULL; // A BIASSEC region from the list 60 59 while ((biassec = psListGetAndIncrement(iter))) { 61 if (psRegionIs Bad(*biassec)) {60 if (psRegionIsNaN(*biassec)) { 62 61 psString regionString = psRegionToString(*biassec); 63 62 psError(PS_ERR_IO, true, "Invalid bias section: %s\n", regionString); … … 190 189 bool mdok = true; // Status of MD lookup 191 190 psRegion *trimsec = psMetadataLookupPtr(&mdok, cell->concepts, "CELL.TRIMSEC"); // Trim sections 192 if (!mdok || !trimsec || psRegionIs Bad(*trimsec)) {191 if (!mdok || !trimsec || psRegionIsNaN(*trimsec)) { 193 192 psError(PS_ERR_IO, true, "CELL.TRIMSEC is not set.\n"); 194 193 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
