IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6169


Ignore:
Timestamp:
Jan 22, 2006, 12:19:09 AM (20 years ago)
Author:
jhoblitt
Message:

comment out version selection code

File:
1 edited

Legend:

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

    r6137 r6169  
    1010    PS_ASSERT_PTR_NON_NULL(rawFrames, false);
    1111
    12     psMetadata *where = psMetadataAlloc();
    13 
    1412    // can we use p2rawToPending() here?
    1513    for (int i = 0; i < rawFrames->n; i++) {
     
    1715
    1816        // find the next available version numbers
     17        // broken
     18        /*
     19        psMetadata *where = psMetadataAlloc();
     20
    1921        psMetadataAddStr(where, PS_LIST_TAIL, "exp_id", PS_META_REPLACE, "==",
    2022            rawFrame->exposure->exp_id);
    2123        psArray *exposures = p2PendingExpSelectRowObjects(config->database,
    2224            where, MAX_ROWS);
     25        psFree(where);
     26        if (!exposures) {
     27            psError(PS_ERR_UNKNOWN, false, "no p2PedningExps found");
     28            return false;
     29        }
    2330
    2431        int version = -1;
     
    2835        }
    2936        version ++;
     37        */
    3038
    3139        p2PendingExpRow *pendingExposure = p2PendingExpRowAlloc(
     
    3644            rawFrame->exposure->nclass,
    3745            0xff,
    38             version
     46            0xff
    3947            // pendingExposure->Ndone = 0;
    40             // pendingExposure->state = P2_STATE_PENDING;
    4148        );
    4249
     
    5057                rawImage->class,
    5158                rawImage->class_id,
    52                 version, // p1
    53                 version, // p2
     59                0xff, // p1
     60                0xff, // p2
    5461                "",
    5562                "",
Note: See TracChangeset for help on using the changeset viewer.