Changeset 13833 for trunk/psModules/src/config/pmConfig.c
- Timestamp:
- Jun 14, 2007, 10:56:57 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/config/pmConfig.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/config/pmConfig.c
r13810 r13833 4 4 * @author EAM (IfA) 5 5 * 6 * @version $Revision: 1.9 6$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-06-14 02:03:29$6 * @version $Revision: 1.97 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-06-14 20:56:57 $ 8 8 * 9 9 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 324 324 } else { 325 325 // Add a dummy entry 326 psPolynomial1D *poly = psPolynomial1DAlloc( 1, PS_POLYNOMIAL_ORD); // Dummy polynomial326 psPolynomial1D *poly = psPolynomial1DAlloc(PS_POLYNOMIAL_ORD, 1); // Dummy polynomial 327 327 poly->coeff[0] = 0.0; 328 328 poly->coeff[1] = 1.0; … … 620 620 } 621 621 622 // Now fill in the formats 622 // Now fill in the formats and calibrations 623 623 psMetadataIterator *iter = psMetadataIteratorAlloc(cameras, PS_LIST_HEAD, NULL); // Iterator 624 624 psMetadataItem *item; // Item from iteration … … 627 627 if (!cameraReadFormats(item->data.md, item->name)) { 628 628 psWarning("Unable to read formats for camera %s: removed.\n", item->name); 629 psMetadataRemoveKey(cameras, item->name); 630 } 631 if (!cameraReadCalibrations(item->data.md, item->name)) { 632 psWarning("Unable to read calibrations for camera %s: removed.\n", item->name); 629 633 psMetadataRemoveKey(cameras, item->name); 630 634 }
Note:
See TracChangeset
for help on using the changeset viewer.
