mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
@@ -93,6 +93,12 @@ void RicAddWellLogToPlotFeature::onActionTriggered(bool isChecked)
|
||||
RigWellLogFile* wellLogDataFile = wellLogFile->wellLogFile();
|
||||
CVF_ASSERT(wellLogDataFile);
|
||||
|
||||
if (wlIdx == 0)
|
||||
{
|
||||
// Initialize plot with depth unit from the first log file
|
||||
plot->setDepthUnit(wellLogDataFile->depthUnit());
|
||||
}
|
||||
|
||||
cvf::Color3f curveColor = RicWellLogPlotCurveFeatureImpl::curveColorFromTable();
|
||||
curve->setColor(curveColor);
|
||||
curve->setWellPath(wellPath);
|
||||
|
||||
Reference in New Issue
Block a user