3D Well Log Curves (#2669): Implement control of single color.

* Set a cycled default whenever a curve is added to a collection.
This commit is contained in:
Gaute Lindkvist committed 2018-04-17 13:44:03 +02:00
1 parent 501e80b1ad
commit 1180c199b4
5 files changed
+28 -14

No files matched your search

@@ -77,6 +77,8 @@ void Rim3dWellLogCurveCollection::add3dWellLogCurve(Rim3dWellLogCurve* curve)
{
if (curve)
{
size_t index = m_3dWellLogCurves.size();
curve->setColor(RiaColorTables::wellLogPlotPaletteColors().cycledColor3f(index));
m_3dWellLogCurves.push_back(curve);
}
}