IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 12, 2009, 5:53:47 PM (17 years ago)
Author:
watersc1
Message:

Only attempt to set the burntool mask value if we'll be using it.

File:
1 edited

Legend:

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

    r25299 r25829  
    3838    psAssert (options->lowMask, "low mask not set");
    3939
    40     // mask for suspect regions due to burntool
    41     options->burntoolMask = pmConfigMaskGet("BURNTOOL",config);
    42     psAssert (options->burntoolMask, "burntool mask not set");
     40    // mask for suspect regions due to burntool if we need to.
     41    if (options->doMaskBurntool) {
     42      options->burntoolMask = pmConfigMaskGet("BURNTOOL",config);
     43      psAssert (options->burntoolMask, "burntool mask not set");
     44    }
    4345   
    4446    // save MASK and MARK on the PSPHOT recipe
Note: See TracChangeset for help on using the changeset viewer.