Changeset 14806 for trunk/ppSub/src/ppSubCamera.c
- Timestamp:
- Sep 10, 2007, 2:08:40 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSubCamera.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubCamera.c
r14741 r14806 28 28 pmFPAfile *inputMask = pmFPAfileBindFromArgs(&status, input, config, "PPSUB.INPUT.MASK", "INPUT.MASK"); 29 29 if (!status) { 30 psError (PS_ERR_UNKNOWN, false, " failed to load find definition");30 psError (PS_ERR_UNKNOWN, false, "Failed to load file definition PPSUB.INPUT.MASK"); 31 31 return NULL; 32 32 } … … 39 39 pmFPAfile *inputWeight = pmFPAfileBindFromArgs(&status, input, config, "PPSUB.INPUT.WEIGHT", "INPUT.WEIGHT"); 40 40 if (!status) { 41 psError (PS_ERR_UNKNOWN, false, " failed to load find definition");41 psError (PS_ERR_UNKNOWN, false, "Failed to load file definition PPSUB.INPUT.WEIGHT"); 42 42 return NULL; 43 43 } … … 62 62 pmFPAfile *refMask = pmFPAfileBindFromArgs(&status, ref, config, "PPSUB.REF.MASK", "REF.MASK"); 63 63 if (!status) { 64 psError (PS_ERR_UNKNOWN, false, " failed to load find definition");64 psError (PS_ERR_UNKNOWN, false, "Failed to load file definition PPSUB.REF.MASK"); 65 65 return NULL; 66 66 } … … 73 73 pmFPAfile *refWeight = pmFPAfileBindFromArgs(&status, ref, config, "PPSUB.REF.WEIGHT", "REF.WEIGHT"); 74 74 if (!status) { 75 psError (PS_ERR_UNKNOWN, false, " failed to load find definition");75 psError (PS_ERR_UNKNOWN, false, "Failed to load file definition PPSUB.REF.WEIGHT"); 76 76 return NULL; 77 77 } … … 128 128 psFree(view); 129 129 130 pmFPAfile *sources = pmFPAfileBindFromArgs(&status, input, config, "PPSUB.SOURCES", "SOURCES"); 131 if (!sources) { 132 psError(PS_ERR_IO, false, "Failed to load file definition PPSUB.SOURCES"); 133 return false; 134 } 135 if (ref->type != PM_FPA_FILE_CMF) { 136 psError(PS_ERR_IO, true, "PPSUB.SOURCES is not of type CMF"); 137 return false; 138 } 139 130 140 // psPhot input 131 141 if (psMetadataLookup(config->arguments, "PSPHOT.PSF")) {
Note:
See TracChangeset
for help on using the changeset viewer.
