IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14019


Ignore:
Timestamp:
Jul 5, 2007, 12:00:49 PM (19 years ago)
Author:
magnier
Message:

adding FPA.NAME to pmFPAfileNameFromRule

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAfile.c

    r13810 r14019  
    172172    newName = psStringCopy(rule);
    173173
     174    if (strstr (newName, "{FPA.NAME}") != NULL) {
     175        char *name = psMetadataLookupStr (NULL, fpa->concepts, "FPA.NAME");
     176        if (name != NULL) {
     177            psStringSubstitute(&newName, "fpa", "{FPA.NAME}");
     178        }
     179    }
    174180    if (strstr (newName, "{CHIP.NAME}") != NULL) {
    175181        pmChip *chip = pmFPAviewThisChip (view, fpa);
Note: See TracChangeset for help on using the changeset viewer.