bug fix slsdetectorgui: xcoord and y coord are actually col and row indices

This commit is contained in:
maliakal_d 2018-09-17 14:35:31 +02:00
parent d67b4765ea
commit 59cb9c84c2

View File

@ -5078,8 +5078,8 @@ void multiSlsDetector::readFrameFromReceiver() {
currentFrameIndex = doc["fIndex"].GetUint64();
currentFileIndex = doc["fileIndex"].GetUint64();
currentSubFrameIndex = doc["expLength"].GetUint();
coordX = doc["xCoord"].GetUint();
coordY = doc["yCoord"].GetUint();
coordY = doc["xCoord"].GetUint();
coordX = doc["yCoord"].GetUint();
if (eiger)
coordY = (nY - 1) - coordY;
//cout << "X:" << doc["xCoord"].GetUint() <<" Y:"<<doc["yCoord"].GetUint();