Using API get3DProperties()

This commit is contained in:
Pål Grønås Drange
2016-04-12 14:47:50 +02:00
parent 77fc26475b
commit fd9f67ae55
5 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -166,8 +166,8 @@ try
// Grid init
if (eclipseState->getEclipseProperties().hasDeckDoubleGridProperty("PORV")) {
const auto& porv = eclipseState->getEclipseProperties().getDoubleGridProperty("PORV").getData();
if (eclipseState->get3DProperties().hasDeckDoubleGridProperty("PORV")) {
const auto& porv = eclipseState->get3DProperties().getDoubleGridProperty("PORV").getData();
grid.reset(new GridManager(eclipseState->getEclipseGrid(), porv));
} else {
grid.reset(new GridManager(eclipseState->getEclipseGrid()));