Changeset 18259
- Timestamp:
- Jun 20, 2008, 7:39:19 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20080620/psModules/src/camera/pmFPA.c
r17986 r18259 303 303 304 304 tmpCell->concepts = psMetadataAlloc(); 305 tmpCell->conceptsRead = PM_CONCEPT_SOURCE_NONE;306 305 if (!psMetadataAddStr(tmpCell->concepts, PS_LIST_HEAD, "CELL.NAME", 0, NULL, name)) { 307 306 psErrorClear(); 308 307 psWarning("Could not add CELL.NAME to metadata."); 309 308 } 310 pmConceptsBlankCell(tmpCell); 309 tmpCell->conceptsRead = PM_CONCEPT_SOURCE_NONE; 310 // XXX does this work? moved to conceptsRead... pmConceptsBlankCell(tmpCell); 311 311 312 312 return tmpCell; … … 342 342 343 343 tmpChip->concepts = psMetadataAlloc(); 344 tmpChip->conceptsRead = PM_CONCEPT_SOURCE_NONE;345 344 if (!psMetadataAddStr(tmpChip->concepts, PS_LIST_HEAD, "CHIP.NAME", 0, NULL, name)) { 346 345 psErrorClear(); 347 346 psWarning("Could not add CHIP.NAME %s to concepts.", name); 348 347 } 349 pmConceptsBlankChip(tmpChip); 348 tmpChip->conceptsRead = PM_CONCEPT_SOURCE_NONE; 349 // XXX does this work? moved to conceptsRead... pmConceptsBlankChip(tmpChip); 350 350 return tmpChip; 351 351 } … … 372 372 373 373 tmpFPA->concepts = psMetadataAlloc(); 374 tmpFPA->conceptsRead = PM_CONCEPT_SOURCE_NONE;375 pmConceptsBlankFPA(tmpFPA);376 377 374 if (!psMetadataAddStr(tmpFPA->concepts, PS_LIST_TAIL, "FPA.CAMERA", PS_META_REPLACE, 378 375 "Camera name (according to configuration)", cameraName)) { … … 380 377 psWarning("Could not add FPA.CAMERA %s to concepts.", cameraName); 381 378 } 379 tmpFPA->conceptsRead = PM_CONCEPT_SOURCE_NONE; 380 // XXX does this work? moved to conceptsRead... pmConceptsBlankFPA(tmpFPA); 382 381 383 382 // this may be somewhat pedantic, but it makes these things consistent
Note:
See TracChangeset
for help on using the changeset viewer.
