IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 9, 2008, 5:22:25 PM (18 years ago)
Author:
eugene
Message:

do not promote if code is non-zero; allow tess_id to be undefined for promotion to fake

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/camtool.c

    r18337 r18459  
    589589
    590590    // NULL for end_stage means go as far as possible
    591     // XXX true for fake too?
    592     // XXX we can't start a warp run unlesss tess_id is defined
    593     if ((pendingRow->end_stage && psStrcasestr(pendingRow->end_stage, "cam"))
    594         || (pendingRow->tess_id == NULL) || psStrcasestr(pendingRow->tess_id, "NULL")) {
     591    // EAM : skip here if code != 0
     592    // Also, we can run fake even if tess_id is not defined
     593    if (code || (pendingRow->end_stage && psStrcasestr(pendingRow->end_stage, "cam"))) {
    595594        psFree(row);
    596595        psFree(pendingRow);
     
    599598            return false;
    600599        }
    601 
    602600        return true;
    603601    }
Note: See TracChangeset for help on using the changeset viewer.