Changeset 27412 for branches/pap_stack/ppStack/src/ppStackCamera.c
- Timestamp:
- Mar 23, 2010, 1:54:27 PM (16 years ago)
- File:
-
- 1 edited
-
branches/pap_stack/ppStack/src/ppStackCamera.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_stack/ppStack/src/ppStackCamera.c
r27400 r27412 310 310 pmFPAfile *expNum = pmFPAfileDefineOutput(config, exp->fpa, "PPSTACK.OUTPUT.EXPNUM"); 311 311 if (!expNum) { 312 psError(psErrorCodeLast(), false, _("Unable to generate output file from PPSTACK.OUTPUT. MASK"));312 psError(psErrorCodeLast(), false, _("Unable to generate output file from PPSTACK.OUTPUT.EXPNUM")); 313 313 return false; 314 314 } … … 319 319 expNum->save = true; 320 320 321 // Weighted exposure 322 pmFPAfile *expWt = pmFPAfileDefineOutput(config, exp->fpa, "PPSTACK.OUTPUT.EXPWT"); 323 if (!expWt) { 324 psError(psErrorCodeLast(), false, _("Unable to generate output file from PPSTACK.OUTPUT.EXPWT")); 325 return false; 326 } 327 if (expWt->type != PM_FPA_FILE_VARIANCE) { 328 psError(PPSTACK_ERR_CONFIG, true, "PPSTACK.OUTPUT.EXPWT is not of type VARIANCE"); 329 return false; 330 } 331 expWt->save = true; 321 332 322 333 … … 413 424 } 414 425 415 // Output mask426 // Exposure numbers 416 427 pmFPAfile *unconvExpNum = pmFPAfileDefineOutput(config, unconvExp->fpa, "PPSTACK.UNCONV.EXPNUM"); 417 428 if (!unconvExpNum) { … … 425 436 unconvExpNum->save = true; 426 437 438 // Weighted exposure 439 pmFPAfile *unconvExpWt = pmFPAfileDefineOutput(config, unconvExp->fpa, "PPSTACK.UNCONV.EXPWT"); 440 if (!unconvExpWt) { 441 psError(psErrorCodeLast(), false, _("Unable to generate output file from PPSTACK.UNCONV.EXPWT")); 442 return false; 443 } 444 if (unconvExpWt->type != PM_FPA_FILE_VARIANCE) { 445 psError(PPSTACK_ERR_CONFIG, true, "PPSTACK.UNCONV.EXPWT is not of type VARIANCE"); 446 return false; 447 } 448 unconvExpWt->save = true; 427 449 428 450 // Output JPEGs
Note:
See TracChangeset
for help on using the changeset viewer.
