IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17916


Ignore:
Timestamp:
Jun 4, 2008, 3:41:57 PM (18 years ago)
Author:
Paul Price
Message:

Need to include camera name.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackCamera.c

    r17428 r17916  
    243243
    244244    // Output image
    245     pmFPA *fpa = pmFPAConstruct(config->camera); // FPA to contain the output
     245    pmFPA *fpa = pmFPAConstruct(config->camera, config->cameraName); // FPA to contain the output
    246246    if (!fpa) {
    247247        psError(PS_ERR_UNEXPECTED_NULL, false, "Unable to construct an FPA from camera configuration.");
  • trunk/pswarp/src/pswarpDefineSkycell.c

    r16611 r17916  
    8080
    8181    // build the template fpa, set up the basic view
    82     fpa = pmFPAConstruct (skyConfig->camera);
     82    fpa = pmFPAConstruct (skyConfig->camera, skyConfig->cameraName);
    8383    if (!fpa) {
    8484        psError(PS_ERR_IO, false, "Failed to construct FPA from %s", realName);
     
    119119    pmFPAview *view = pmFPAAddSourceFromHeader (fpa, phu, format);
    120120    if (!view) {
    121         psError(PS_ERR_IO, false, "Unable to determine source for %s", file->name);
    122         psFree(phu);
    123         psFree (fpa);
    124         psFree (format);
    125         return false;
     121        psError(PS_ERR_IO, false, "Unable to determine source for %s", file->name);
     122        psFree(phu);
     123        psFree (fpa);
     124        psFree (format);
     125        return false;
    126126    }
    127127
Note: See TracChangeset for help on using the changeset viewer.