mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-10 15:36:09 -06:00
#1771 Add missing allocation of well path
This commit is contained in:
parent
6912ee0081
commit
4bda27c627
@ -166,6 +166,7 @@ RifWellPathImporter::WellData RifWellPathImporter::readJsonWellData(const QStrin
|
|||||||
double datumElevation = jsonMap["datumElevation"].toDouble();
|
double datumElevation = jsonMap["datumElevation"].toDouble();
|
||||||
QList<QVariant> pathList = jsonMap["path"].toList();
|
QList<QVariant> pathList = jsonMap["path"].toList();
|
||||||
WellData wellData;
|
WellData wellData;
|
||||||
|
wellData.m_wellPathGeometry = new RigWellPath;
|
||||||
wellData.m_wellPathGeometry->setDatumElevation(datumElevation);
|
wellData.m_wellPathGeometry->setDatumElevation(datumElevation);
|
||||||
wellData.m_name = jsonMap["name"].toString();
|
wellData.m_name = jsonMap["name"].toString();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user