IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35520


Ignore:
Timestamp:
May 6, 2013, 10:31:35 AM (13 years ago)
Author:
eugene
Message:

when copying a pmFPA, copy the process,file_exists,data_exists states for chip and cell as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130419/psModules/src/camera/pmFPACopy.c

    r24480 r35520  
    480480            pmCell *sourceCell = sourceCells->data[cellNum]; // The source cell
    481481            status &= cellCopy(targetCell, sourceCell, pixels, xBin, yBin);
     482            // update the attributes
     483            targetCell->file_exists = sourceCell->file_exists;
     484            targetCell->data_exists = sourceCell->data_exists;
     485            targetCell->process     = sourceCell->process;
    482486        }
    483487    }
     
    489493    psMetadataItem *chipName = psMemIncrRefCounter(psMetadataLookup(target->concepts, "CHIP.NAME"));
    490494    pmConceptsCopyChip(target, source, false);
     495
     496    // update the attributes
     497    target->file_exists = source->file_exists;
     498    target->data_exists = source->data_exists;
     499    target->process     = source->process;
     500
    491501    psMetadataAddItem(target->concepts, chipName, PS_LIST_TAIL, PS_META_REPLACE);
    492502    psFree(chipName);
Note: See TracChangeset for help on using the changeset viewer.