mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#541) Setting depth range for export from the curve's raw data, not the plot curve's data
This commit is contained in:
@@ -274,8 +274,9 @@ bool RigWellLogFile::exportToLasFile(const RimWellLogPlotCurve* curve, const QSt
|
||||
lasFile.AddLog(wellLogChannelName.toStdString(), "NO_UNIT", "", wellLogValues);
|
||||
lasFile.SetMissing(absentValue);
|
||||
|
||||
double minDepth, maxDepth;
|
||||
curve->depthRange(&minDepth, &maxDepth);
|
||||
double minDepth = 0.0;
|
||||
double maxDepth = 0.0;
|
||||
curveData->depthRange(&minDepth, &maxDepth);
|
||||
|
||||
lasFile.setStartDepth(minDepth);
|
||||
lasFile.setStopDepth(maxDepth);
|
||||
|
||||
Reference in New Issue
Block a user