#1475 Use wellPathIndexInFile to be able to import multiple wells pr file

This commit is contained in:
Magne Sjaastad 2017-05-15 13:39:20 +02:00
parent 25e6aec94a
commit 886f4ce3ab

View File

@ -220,8 +220,8 @@ bool RimWellPath::readWellPathFile(QString* errorMessage, RifWellPathImporter* w
{ {
if (wellPathImporter->canReadFile(filepath())) if (wellPathImporter->canReadFile(filepath()))
{ {
RifWellPathImporter::WellData wellData = wellPathImporter->readWellData(filepath()); RifWellPathImporter::WellData wellData = wellPathImporter->readWellData(filepath(), wellPathIndexInFile());
RifWellPathImporter::WellMetaData wellMetaData = wellPathImporter->readWellMetaData(filepath()); RifWellPathImporter::WellMetaData wellMetaData = wellPathImporter->readWellMetaData(filepath(), wellPathIndexInFile());
// General well info // General well info
name = wellData.m_name; name = wellData.m_name;