IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 7, 2008, 2:07:16 PM (18 years ago)
Author:
Paul Price
Message:

Adding hook to setup psphot visualisation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubReadout.c

    r19704 r19962  
    512512        psFree(psf);
    513513
     514        if (psMetadataLookupBool(&mdok, recipe, "PSPHOT.VISUAL")) {
     515            psphotSetVisual(true);
     516        }
     517
    514518        // Need to ensure aperture residual is not calculated
    515         psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PSPHOT_RECIPE); // Recipe
    516         psMetadataItem *item = psMetadataLookup(recipe, "MEASURE.APTREND"); // Item determining aptrend
     519        psMetadata *psphotRecipe = psMetadataLookupMetadata(NULL, config->recipes, PSPHOT_RECIPE); // Recipe
     520        psMetadataItem *item = psMetadataLookup(psphotRecipe, "MEASURE.APTREND"); // Item determining aptrend
    517521        if (!item) {
    518522            psWarning("Unable to find MEASURE.APTREND in psphot recipe");
Note: See TracChangeset for help on using the changeset viewer.