Changeset 14591
- Timestamp:
- Aug 21, 2007, 2:20:44 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmSubtractionMatch.c
r14585 r14591 335 335 } 336 336 337 // Put the solution on the metadata 337 338 { 338 339 psString comment = NULL; // Comment for metadata … … 341 342 PS_META_DUPLICATE_OK, comment, solution); 342 343 psFree(comment); 344 if (region) { 345 psMetadataAddPtr(convolved->analysis, PS_LIST_TAIL, "SUBTRACTION.REGION", 346 PS_META_DUPLICATE_OK | PS_DATA_REGION, comment, region); 347 } else { 348 region = psRegionAlloc(0, numCols, 0, numRows); 349 psMetadataAddPtr(convolved->analysis, PS_LIST_TAIL, "SUBTRACTION.REGION", 350 PS_META_DUPLICATE_OK | PS_DATA_REGION, comment, region); 351 psFree(region); 352 region = NULL; 353 } 343 354 } 344 355 … … 348 359 // There is data in the readout now 349 360 convolved->data_exists = true; 350 convolved->parent->data_exists = true; 351 convolved->parent->parent->data_exists = true; 361 if (convolved->parent) { 362 convolved->parent->data_exists = true; 363 convolved->parent->parent->data_exists = true; 364 } 352 365 } 353 366 }
Note:
See TracChangeset
for help on using the changeset viewer.
