Changeset 17557 for trunk/ppSim/src/ppSimCreate.c
- Timestamp:
- May 7, 2008, 10:55:21 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppSim/src/ppSimCreate.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSim/src/ppSimCreate.c
r14667 r17557 18 18 pmFPAfile *input = pmFPAfileDefineFromArgs (&status, config, "PPIMAGE.INPUT", "INPUT"); 19 19 if (!input) { 20 // if we have not specified the camera already, we need to interpolate the recipes associated with this camera, and read other command-line recipes 21 if (!pmConfigReadRecipes(config, PM_RECIPE_SOURCE_CL)) { 22 psError(PS_ERR_IO, false, "Error merging recipes from camera config for %s", config->cameraName); 23 return NULL; 24 } 25 20 26 simImage = true; 21 27 fpa = pmFPAConstruct(config->camera); // FPA to contain the observation … … 24 30 return NULL; 25 31 } 32 26 33 } else { 27 34 simImage = false; … … 33 40 } 34 41 42 // define the output image file 35 43 pmFPAfile *file = pmFPAfileDefineOutput(config, fpa, OUTPUT_FILE); 36 44 if (!file) {
Note:
See TracChangeset
for help on using the changeset viewer.
