Changeset 11785 for trunk


Ignore:
Timestamp:
08/05/11 13:48:22 (13 years ago)
Author:
lyard
Message:
the previous bug fix was not quite a fix ;)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/QCameraWidget.cc

    r11783 r11785  
    155155     void QCameraWidget::SetData(const valarray<double> &ddata)
    156156     {
    157              fData = data;
    158 //         for (int i=0;i<ACTUAL_NUM_PIXELS;i++)
    159 //             fData[i] = ddata[i];
     157//             fData = ddata;
     158         for (int i=0;i<ACTUAL_NUM_PIXELS;i++)
     159             fData[i] = ddata[i];
    160160         CalculatePixelsColor();
    161161     }
Note: See TracChangeset for help on using the changeset viewer.