IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24181 for trunk/psModules


Ignore:
Timestamp:
May 13, 2009, 5:12:53 PM (17 years ago)
Author:
Paul Price
Message:

Fixing ticket 1246: inverting preference order for stamps source (specified sources by user first, general sources from photometry second). ppSub wasn't using the correct source for the name of the stamps file from the user (artifact of recent reorganisation).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtractionMatch.c

    r23989 r24181  
    432432            }
    433433
    434             if (sources) {
     434            if (stampsName && strlen(stampsName) > 0) {
     435                stamps = pmSubtractionStampsSetFromFile(stampsName, ro1->image, subMask, region, size,
     436                                                        footprint, stampSpacing, subMode);
     437            } else if (sources) {
    435438                stamps = pmSubtractionStampsSetFromSources(sources, ro1->image, subMask, region, size,
    436439                                                           footprint, stampSpacing, subMode);
    437             } else if (stampsName && strlen(stampsName) > 0) {
    438                 stamps = pmSubtractionStampsSetFromFile(stampsName, ro1->image, subMask, region, size,
    439                                                         footprint, stampSpacing, subMode);
    440440            }
    441441
Note: See TracChangeset for help on using the changeset viewer.