IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 7, 2008, 9:31:00 AM (18 years ago)
Author:
Paul Price
Message:

Allowing use of old-style darks if OLDDARK(BOOL) is TRUE in the recipe.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageParseCamera.c

    r16844 r16870  
    431431    }
    432432
     433    // Change the input dark type between the old (IMAGE) and new (multi-DARK).
     434    // Hopefully this is a temporary change until we all move over to using the new dark types
     435    bool mdok;                          // Status of MD lookup
     436    if (options->doDark && psMetadataLookupBool(&mdok, recipe, "OLDDARK")) {
     437        pmFPAfile *dark = psMetadataLookupPtr(NULL, config->files, "PPIMAGE.DARK");
     438        assert(dark);
     439        dark->type = PM_FPA_FILE_IMAGE;
     440    }
     441
    433442    return (options);
    434443}
Note: See TracChangeset for help on using the changeset viewer.