Changeset 23740 for trunk/psModules/src/camera
- Timestamp:
- Apr 7, 2009, 4:50:25 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
. (modified) (1 prop)
-
psModules (modified) (1 prop)
-
psModules/src/camera/pmFPA.c (modified) (4 diffs)
-
psModules/src/camera/pmFPACopy.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/pap merged: 23690,23704,23711,23719,23723,23730-23735
- Property svn:mergeinfo changed
-
trunk/psModules
- Property svn:mergeinfo changed
/branches/pap/psModules merged: 23719,23731
- Property svn:mergeinfo changed
-
trunk/psModules/src/camera/pmFPA.c
r21363 r23740 298 298 299 299 300 pmCell *pmCellAlloc( 301 pmChip *chip, 302 const char *name) 300 pmCell *pmCellAlloc(pmChip *chip, const char *name) 303 301 { 304 302 pmCell *tmpCell = (pmCell *) psAlloc(sizeof(pmCell)); … … 323 321 } 324 322 tmpCell->conceptsRead = PM_CONCEPT_SOURCE_NONE; 325 // XXX does this work? moved to conceptsRead...pmConceptsBlankCell(tmpCell);323 pmConceptsBlankCell(tmpCell); 326 324 327 325 return tmpCell; … … 362 360 } 363 361 tmpChip->conceptsRead = PM_CONCEPT_SOURCE_NONE; 364 // XXX does this work? moved to conceptsRead...pmConceptsBlankChip(tmpChip);362 pmConceptsBlankChip(tmpChip); 365 363 return tmpChip; 366 364 } … … 393 391 } 394 392 tmpFPA->conceptsRead = PM_CONCEPT_SOURCE_NONE; 395 // XXX does this work? moved to conceptsRead...pmConceptsBlankFPA(tmpFPA);393 pmConceptsBlankFPA(tmpFPA); 396 394 397 395 // this may be somewhat pedantic, but it makes these things consistent -
trunk/psModules/src/camera/pmFPACopy.c
r23319 r23740 399 399 if (targetHDU) { 400 400 pmHDU *sourceHDU = pmHDUFromCell(source); // The source HDU 401 if (!sourceHDU) { 402 psWarning("Unable to copy header: no source header."); 403 } else if (sourceHDU->header) { 401 if (sourceHDU && sourceHDU->header) { 404 402 targetHDU->header = psMetadataCopy(targetHDU->header, sourceHDU->header); 405 403 }
Note:
See TracChangeset
for help on using the changeset viewer.
