Skip to content
Snippets Groups Projects
Commit 17f8387d authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

MaskResultsPresenter: createMaskPresentation: now using axis coords not bins...

MaskResultsPresenter: createMaskPresentation: now using axis coords not bins (repairs worst of #823)
parent 3c4cdf5e
No related branches found
No related tags found
1 merge request!2115rm scale=1; correct coords/bins in mask presenter (repairs worst of #823)
Pipeline #119152 passed
......@@ -38,13 +38,13 @@ Datafield* createMaskPresentation(Data2DItem* data2DItem)
roi = roiItem->createShape();
else {
std::unique_ptr<IShape2D> shape((*maskIter)->createShape());
detectorMask.maskToStack(*shape, (*maskIter)->maskValue(), true);
detectorMask.maskToStack(*shape, (*maskIter)->maskValue(), false);
}
}
// ROI mask has to be the last one, it can not be "unmasked" by other shapes
if (roi)
detectorMask.maskToStack(*roi, true, true);
detectorMask.maskToStack(*roi, true, false);
if (!detectorMask.hasMasks())
return nullptr;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment