IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 29, 2012, 2:45:03 PM (14 years ago)
Author:
watersc1
Message:

Fixed missing mask issue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20120906/ppSkycell/src/ppSkycellCamera.c

    r34623 r34624  
    113113        return false;
    114114    }
    115     if (!pmFPAfileDefineOutput(data->config, bin1->fpa , "PPSKYCELL.BIN1.MASK")) {
     115    if (data->masksName) {
     116      pmFPAfile *mask1 = pmFPAfileDefineOutput(data->config, bin1->fpa , "PPSKYCELL.BIN1.MASK");
     117      if (!mask1) {
    116118        psError(psErrorCodeLast(), false, "Unable to define output.");
    117119        return false;
    118     }
    119     if (!pmFPAfileDefineOutput(data->config, bin2->fpa, "PPSKYCELL.BIN2.MASK")) {
     120      }
     121      mask1->save = true;
     122      pmFPAfile *mask2 = pmFPAfileDefineOutput(data->config, bin2->fpa , "PPSKYCELL.BIN2.MASK");
     123      if (!mask2) {
    120124        psError(psErrorCodeLast(), false, "Unable to define output.");
    121125        return false;
     126      }
     127      mask2->save = true;
    122128    }
    123129
Note: See TracChangeset for help on using the changeset viewer.