mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user