diff --git a/GUI/Model/Data/MaskResultsPresenter.cpp b/GUI/Model/Data/MaskResultsPresenter.cpp index 180a94422096f0a05609e6e01759accb089f4e25..277d113276cdc3cf36bb39d618c59d6304d04754 100644 --- a/GUI/Model/Data/MaskResultsPresenter.cpp +++ b/GUI/Model/Data/MaskResultsPresenter.cpp @@ -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;