Ignore:
Timestamp:
08/05/11 13:24:54 (13 years ago)
Author:
lyard
Message:
fixed a bug with the GL camera
File:
1 edited

Legend:

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

    r11779 r11783  
    1212        fMin = -1;
    1313        fMax = -1;
     14        CalculatePixelsColor();
    1415    }
    1516    void QCameraWidget::paintGL()
     
    154155     void QCameraWidget::SetData(const valarray<double> &ddata)
    155156     {
    156          double min, max;
    157          for (int i=0;i<ACTUAL_NUM_PIXELS;i++)
    158              fData[i] = ddata[i];
     157             fData = data;
     158//         for (int i=0;i<ACTUAL_NUM_PIXELS;i++)
     159//             fData[i] = ddata[i];
    159160         CalculatePixelsColor();
    160161     }
Note: See TracChangeset for help on using the changeset viewer.