From 59cb9c84c2ce54425e27a84b56fc4bd89ec22894 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Mon, 17 Sep 2018 14:35:31 +0200 Subject: [PATCH] bug fix slsdetectorgui: xcoord and y coord are actually col and row indices --- slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp b/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp index d51a35951..7d3b9f735 100644 --- a/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp +++ b/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp @@ -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:"<