mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2360 Elm Props: read metadata on project load
This commit is contained in:
@@ -179,7 +179,15 @@ RigFemScalarResultFrames* RigFemPartResultsCollection::findOrLoadScalarResult(in
|
||||
currentFrames->frameData(0).swap(elem.second);
|
||||
}
|
||||
|
||||
return m_femPartResults[partIndex]->findScalarResult(resVarAddr);
|
||||
frames = m_femPartResults[partIndex]->findScalarResult(resVarAddr);
|
||||
if (frames)
|
||||
{
|
||||
return frames;
|
||||
}
|
||||
else
|
||||
{
|
||||
return m_femPartResults[partIndex]->createScalarResult(resVarAddr);
|
||||
}
|
||||
}
|
||||
|
||||
// We need to read the data as bulk fields, and populate the correct scalar caches
|
||||
|
||||
Reference in New Issue
Block a user