Changeset 12716 for trunk/psModules/src/config/pmConfig.c
- Timestamp:
- Apr 3, 2007, 10:28:26 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/config/pmConfig.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/config/pmConfig.c
r12702 r12716 4 4 * @author EAM (IfA) 5 5 * 6 * @version $Revision: 1.8 3$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-0 3-31 03:01:08$6 * @version $Revision: 1.84 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-04-03 20:28:26 $ 8 8 * 9 9 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 786 786 } 787 787 788 789 psMetadata *pmConfigCameraFormatFromHeader(pmConfig *config, const psMetadata *header) 788 // we only need to read the recipe for the main camera images. for additional images (eg, sky 789 // cells) do not need to re-read the recipe files! 790 psMetadata *pmConfigCameraFormatFromHeader(pmConfig *config, const psMetadata *header, bool readRecipes) 790 791 { 791 792 PS_ASSERT_PTR_NON_NULL(config, NULL); … … 840 841 841 842 // Now we have the camera, we can read the recipes 842 if ( !pmConfigReadRecipes(config, PM_RECIPE_SOURCE_CAMERA | PM_RECIPE_SOURCE_CL)) {843 if (readRecipes && !pmConfigReadRecipes(config, PM_RECIPE_SOURCE_CAMERA | PM_RECIPE_SOURCE_CL)) { 843 844 psError(PS_ERR_IO, false, "Error reading recipes from camera config for %s", config->cameraName); 844 845 return NULL;
Note:
See TracChangeset
for help on using the changeset viewer.
