IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15172


Ignore:
Timestamp:
Oct 2, 2007, 5:41:35 PM (19 years ago)
Author:
Paul Price
Message:

Write out the PHU at the correct level, specified by the fileView, not by the view.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_branch_070920/psModules/src/camera/pmFPAfileIO.c

    r15166 r15172  
    359359            return false;
    360360        }
     361
     362        // do we need to write out a PHU?
     363        if (!pmFPAfileWritePHU(file, fileView, config)) {
     364            psError(PS_ERR_IO, false, "failed to write phu for %s (%s)", file->filename, file->name);
     365            return false;
     366        }
     367
    361368        psFree (fileView);
    362     }
    363 
    364     // do we need to write out a PHU?
    365     if (level >= file->fileLevel) {
    366         if (!pmFPAfileWritePHU (file, view, config)) {
    367             psError(PS_ERR_IO, false, "failed to write phu for %s (%s)", file->filename, file->name);
    368             return false;
    369         }
    370369    }
    371370
Note: See TracChangeset for help on using the changeset viewer.