IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 15, 2008, 4:44:46 PM (18 years ago)
Author:
eugene
Message:

options to turn on and off all of the components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080511/ppSim/src/ppSimLoop.c

    r17702 r17705  
    170170
    171171                if (inputCell && inputCell->readouts->data[i]) {
    172                     if (!ppSimMergeReadouts (readout, inputCell->readouts->data[i])) ESCAPE (PS_ERR_UNKNOWN, "problem merging input image with simulated image");
     172                    pmReadout *inReadout = inputCell->readouts->data[i];
     173                    if (!inReadout->weight) {
     174                        if (!pmReadoutGenerateWeight(inReadout, true)) {
     175                            psError (PS_ERR_UNKNOWN, false, "trouble creating weight");
     176                            return false;
     177                        }
     178                    }
     179                    if (!ppSimMergeReadouts (readout, inReadout)) ESCAPE (PS_ERR_UNKNOWN, "problem merging input image with simulated image");
    173180                }
    174181            }
Note: See TracChangeset for help on using the changeset viewer.