Changeset 11144 for trunk/psModules/src/camera
- Timestamp:
- Jan 18, 2007, 3:19:34 PM (20 years ago)
- Location:
- trunk/psModules/src/camera
- Files:
-
- 2 edited
-
pmFPAfile.c (modified) (1 diff)
-
pmFPAfileDefine.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAfile.c
r11105 r11144 252 252 } 253 253 } 254 if (strstr (newName, "{FILTER.ID}") != NULL) {255 if (file->fpa != NULL) {256 char *filterID = pmConceptsFilterIDfromConcept ("FPA.FILTER", file->fpa->concepts, file->camera);257 if (filterID && *filterID) {258 psStringSubstitute(&newName, filterID, "{FILTER.ID}");259 }260 }261 }262 254 return newName; 263 255 } -
trunk/psModules/src/camera/pmFPAfileDefine.c
r11106 r11144 700 700 } 701 701 702 // XXX: 'function' unncesssary now that it's not required for filter? 702 703 if (!strcasecmp (option, "filter")) { 703 options->filter = NULL; 704 if (function) { 705 if (!strcasecmp (function, "FILTER.ID")) { 706 options->filter = pmConceptsFilterIDfromConcept (concept, input->concepts, config->camera); 707 } 708 } else { 709 options->filter = psMetadataLookupPtr (&status, input->concepts, concept); 710 } 711 if (options->filter == NULL) 704 if (function) 705 psAbort ("psModules", "no detrend constraint function for filter"); 706 options->filter = psMetadataLookupPtr (&status, input->concepts, concept); 707 if (!status) 712 708 psAbort ("psModules", "failed to find filter"); 713 709
Note:
See TracChangeset
for help on using the changeset viewer.
