Changeset 11255 for trunk/psModules/src/camera/pmFPACopy.c
- Timestamp:
- Jan 23, 2007, 5:11:19 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPACopy.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPACopy.c
r10516 r11255 37 37 } 38 38 39 #if 0 39 40 // Find the blank (image-less) PHU, given a cell. 40 41 static pmHDU *findBlankPHU(const pmCell *cell // The cell for which to find the PHU … … 57 58 return NULL; 58 59 } 60 #endif 59 61 60 62 ////////////////////////////////////////////////////////////////////////////////////////////////////////////// … … 277 279 binItem->data.S32 *= yBin; 278 280 281 #if 0 279 282 // Copy any headers 280 283 pmHDU *targetHDU = pmHDUFromCell(target); // The target HDU … … 285 288 } 286 289 } 290 287 291 // Copy the PHU over as well, if required 288 292 pmHDU *targetPHU = findBlankPHU(target); // The target PHU 289 293 if (targetPHU && targetPHU != targetHDU && !targetPHU->header) { 290 pmHDU *sourcePHU = findBlankPHU(source); // The source PHU 291 if (sourcePHU->header) { 294 // pmHDU *sourcePHU = pmHDUGetHighest(source->parent->parent, source->parent, source); // A source HDU 295 pmHDU *sourcePHU = findBlankPHU(source); // The target PHU 296 if (sourcePHU && sourcePHU->header) { 292 297 targetPHU->header = psMetadataCopy(targetPHU->header, sourcePHU->header); 293 298 } 294 299 } 300 #endif 295 301 296 302 target->data_exists = true;
Note:
See TracChangeset
for help on using the changeset viewer.
