- Timestamp:
- May 29, 2012, 5:16:09 PM (14 years ago)
- Location:
- branches/eam_branches/ipp-20120405/psphot
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120405/psphot
- Property svn:mergeinfo changed
/trunk/psphot (added) merged: 33731,33761,33837,33839-33842,33877,33879,33881,33883,33889-33890,33894,33910,33913-33915,33917,33935
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20120405/psphot/src
- Property svn:mergeinfo changed
/trunk/psphot/src (added) merged: 33731,33761,33837,33839-33842,33877,33879,33881,33883,33889-33890,33894,33910,33913-33915,33917,33935
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20120405/psphot/src/psphotMergeSources.c
r33444 r33953 744 744 psAssert (readoutOut, "missing readout?"); 745 745 746 pmDetections *detectionsOutOld = psMetadataLookupPtr (&status, readoutOut->analysis, "PSPHOT.DETECTIONS"); 747 psArray *oldFootprints = detectionsOutOld ? detectionsOutOld->footprints : NULL; 748 746 749 // replace any existing DETECTION container on readoutOut->analysis with the new one 747 750 pmDetections *detectionsOut = pmDetectionsAlloc(); 751 if (oldFootprints) { 752 // ... but hang on to any existing footprints so that they can be merged with new footprints in pass 2 753 detectionsOut->footprints = psMemIncrRefCounter(oldFootprints); 754 } 748 755 detectionsOut->allSources = psArrayAllocEmpty (100); 749 756 if (!psMetadataAddPtr (readoutOut->analysis, PS_LIST_TAIL, "PSPHOT.DETECTIONS", PS_META_REPLACE | PS_DATA_UNKNOWN, "psphot detections", detectionsOut)) {
Note:
See TracChangeset
for help on using the changeset viewer.
