Improved multi case initial reading

When creating a multi case group from multiple files, read grid from first file.
The main grid from the first case is reused for the other cases.
NOTE: Metadata and well information is not read for the other cases
p4#: 20655
This commit is contained in:
Magne Sjaastad
2013-02-27 15:27:33 +01:00
parent 3dc027e29e
commit 3dbc8a9d57
6 changed files with 103 additions and 22 deletions

View File

@@ -1312,10 +1312,5 @@ void RIMainWindow::slotOpenMultipleCases()
appendEGRIDFilesRecursively(fileName, gridFileNames);
}
for (int i = 0; i < gridFileNames.size(); i++)
{
QString fileName = gridFileNames[i];
app->addEclipseCase(fileName);
}
app->addEclipseCases(gridFileNames);
}