IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 3, 2008, 9:42:54 AM (18 years ago)
Author:
Paul Price
Message:

Create empty pixel list before starting combination.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmStack.c

    r19247 r19336  
    88 *  @author GLG, MHPCC
    99 *
    10  *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2008-08-28 01:03:30 $
     10 *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2008-09-03 19:42:54 $
    1212 *  Copyright 2004-2007 Institute for Astronomy, University of Hawaii
    1313 *
     
    201201        return;
    202202    }
    203     data->inspect = psPixelsAdd(data->inspect, data->inspect ? data->inspect->nalloc : PIXEL_LIST_BUFFER ,
    204                                 x, y);
     203    data->inspect = psPixelsAdd(data->inspect, data->inspect->nalloc, x, y);
    205204    return;
    206205}
     
    595594        }
    596595        varFactors->data.F32[i] = vf;
     596        if (!haveRejects && !data->inspect) {
     597            data->inspect = psPixelsAllocEmpty(PIXEL_LIST_BUFFER);
     598        }
    597599    }
    598600
Note: See TracChangeset for help on using the changeset viewer.