Changeset 30155
- Timestamp:
- Dec 24, 2010, 3:10:19 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20101205/psModules/src/objects/pmPSFtry.c
r29004 r30155 84 84 85 85 for (int i = 0; i < sources->n; i++) { 86 test->sources->data[i] = pmSourceCopy (sources->data[i]); 86 pmSource *sourceOld = sources->data[i]; 87 pmSource *sourceNew = pmSourceCopy (sourceOld); 88 89 // save a reference so we can get back to the original 90 // this is specifically used in psphotChooosePSF to unflag the candidate PSF sources 91 // which were not actually used to generate a PSF model 92 sourceNew->parent = sourceOld; 93 94 test->sources->data[i] = sourceNew; 87 95 } 88 96
Note:
See TracChangeset
for help on using the changeset viewer.
