Changeset 19155
- Timestamp:
- Aug 21, 2008, 4:23:55 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/config/pmConfigMask.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/config/pmConfigMask.c
r19121 r19155 8 8 9 9 #include "pmConfigMask.h" 10 11 12 //#define FORCE_OLD_MASKS // Force old masks to work (at the expense of new masks)13 10 14 11 … … 84 81 } 85 82 86 #ifdef FORCE_OLD_MASKS87 return true;88 #endif89 90 83 int nMask = psMetadataLookupS32(&status, header, "MSKNUM"); 91 84 if (!status) { 85 if (psMetadataLookupBool(&status, config->camera, "MASK.FORCE")) { 86 psWarning("No mask values in header. Assuming MASKS recipe is accurate because of MASK.FORCE"); 87 return true; 88 } 92 89 psError(PS_ERR_UNKNOWN, true, "Unable to find MSKNUM in header."); 93 90 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
