Changeset 23761 for trunk/psModules/src/camera/pmFPACopy.c
- Timestamp:
- Apr 8, 2009, 4:59:57 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPACopy.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPACopy.c
r23740 r23761 479 479 if (targetFPA && sourceFPA) { 480 480 if (targetFPA->toSky) { 481 psAssert (targetFPA->toSky == sourceFPA->toSky, "chips within FPA have inconsistent astrometry references"); 482 } else { 483 targetFPA->toSky = psMemIncrRefCounter (sourceFPA->toSky); 484 } 481 psFree(targetFPA->toSky); 482 } 483 targetFPA->toSky = psMemIncrRefCounter (sourceFPA->toSky); 485 484 if (targetFPA->toTPA) { 486 psAssert (targetFPA->toTPA == sourceFPA->toTPA, "chips within FPA have inconsistent astrometry references"); 487 } else { 488 targetFPA->toTPA = psMemIncrRefCounter (sourceFPA->toTPA); 489 } 485 psFree(targetFPA->toTPA); 486 } 487 targetFPA->toTPA = psMemIncrRefCounter (sourceFPA->toTPA); 490 488 if (targetFPA->fromTPA) { 491 psAssert (targetFPA->fromTPA == sourceFPA->fromTPA, "chips within FPA have inconsistent astrometry references"); 492 } else { 493 targetFPA->fromTPA = psMemIncrRefCounter (sourceFPA->fromTPA); 494 } 489 psFree(targetFPA->fromTPA); 490 } 491 targetFPA->fromTPA = psMemIncrRefCounter (sourceFPA->fromTPA); 495 492 } 496 493
Note:
See TracChangeset
for help on using the changeset viewer.
