nasa-jpl / LiveViewOpenCL

Open Source real-time visualization tools for Imaging Spectrometer development
GNU General Public License v3.0
36 stars 21 forks source link

Found some hard-coded dimensions, not sure if it's an issue or not (yet) #69

Open NimrodCarmon opened 3 years ago

NimrodCarmon commented 3 years ago

in frameworker.cpp, in the frameworker function (starts at line 68), we have this:

case XIO:
    Camera = new XIOCamera(settings->value(QString("ssd_width"), 640).toInt(),
                           settings->value(QString("ssd_height"), 480).toInt(),
                           settings->value(QString("ssd_height"), 480).toInt());
    break;
case ENVI:
    Camera = new ENVICamera(settings->value(QString("ssd_width"), 640).toInt(),
                            settings->value(QString("ssd_height"), 480).toInt(),
                            settings->value(QString("ssd_height"), 480).toInt());

It might be nothing, but I wanted to put it here so people would be aware in case there are downstream issues from this one.