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

masks transform along with color map (#988)

parent f240f597
No related branches found
No related tags found
1 merge request!2631masks transform along with color map (#988), plus some code cleanup
Pipeline #148865 passed
......@@ -343,6 +343,7 @@ IOverlay* MaskGraphicsScene::registerOverlay(OverlayItem* item)
connect(line_item, &OverlayItem::maskToBeDestroyed,
[this, line_item] { emit lineItemDeleted(line_item); });
}
connect(m_plot.get(), &QCustomPlot::afterReplot, overlay, &IOverlay::onGeometryChange);
connect(item, &OverlayItem::maskGeometryChanged, overlay, &IOverlay::onGeometryChange);
if (auto* mask_item = dynamic_cast<MaskItem*>(item)) {
if (auto* mask_overlay = dynamic_cast<IMaskOverlay*>(overlay))
......
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