mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-12 15:48:43 +01:00
switched to vector instead of std::array<ROI, 2>>, which prints extra [-1, -1] when theres only 1 udp interface
This commit is contained in:
@@ -54,7 +54,7 @@ void DataStreamer::SetAdditionalJsonHeader(
|
||||
}
|
||||
|
||||
void DataStreamer::SetPortROI(ROI roi) {
|
||||
if (roi.completeRoi()) {
|
||||
if (roi.completeRoi()) {//TODO: just not send zmq if not in roi?
|
||||
portRoi =
|
||||
ROI(0, generalData->nPixelsX - 1, 0, generalData->nPixelsY - 1);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user