Commit 642b08c7 authored by Mathieu Tillet's avatar Mathieu Tillet
Browse files

Keep the pixel mask option after using it

After the user has picked a single pixel, contrary to other masking
options, editing the shape is not possible and thus the default
behavior should be to stay on this option.
parent 458e31e1
......@@ -495,8 +495,6 @@ void InstrumentWidgetMaskTab::singlePixelPicked(size_t pickID){
std::vector<long unsigned int> detectorId{static_cast<long unsigned int>(pickID)};
auto &actor = m_instrWidget->getInstrumentActor();
m_instrWidget->updateInstrumentView(); // to refresh the pick image
auto wsMask = actor.getMaskWorkspace();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment