Commit acfe07ad authored by Mikhail Svechnikov's avatar Mikhail Svechnikov Committed by Mikhail Svechnikov
Browse files

interpolation works

parent 7129e900
......@@ -231,6 +231,10 @@ void ColorMap::subscribeToItem()
m_colorMap->setGradient(GUI::View::RangeUtils::itemGradient(intensityItem()));
replot();
});
connect(intensityItem(), &IntensityDataItem::interpolationChanged, this, [=]() {
m_colorMap->setInterpolate(intensityItem()->isInterpolated());
replot();
});
#endif
setConnected(true);
}
......
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