#1771 Add missing allocation of well path

This commit is contained in:
Magne Sjaastad 2017-08-15 15:16:29 +02:00
parent 6912ee0081
commit 4bda27c627

View File

@ -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();