IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 21253


Ignore:
Timestamp:
Feb 1, 2009, 11:50:58 AM (17 years ago)
Author:
eugene
Message:

clear error from mismatched stamps (caused by error in psphotVisual)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotMosaicSubimage.c

    r19881 r21253  
    3232
    3333    psImage *subImage = psImageSubset (inImage, inRegion);
     34    if (!subImage) {
     35        psErrorClear(); // XXX I think there is an error in psphotVisual that is supplying bad images
     36        return false;
     37    }
     38
    3439    psImage *newImage = psImageAlloc (subImage->numCols, subImage->numRows, PS_TYPE_F32);
    3540    for (int iy = 0; iy < newImage->numRows; iy++) {
Note: See TracChangeset for help on using the changeset viewer.