mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 10:22:15 -05: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:
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user