(#550) Fixed by reverting commit ca0fd4d9fe

The simplified check for results present was not good enough.
As we no longer do processEvents during progressbar, it should be ok to
reintroduce the assertResultsLoaded test.
This commit is contained in:
Jacob Støren 2015-09-27 19:32:55 +02:00
parent 07d101353c
commit 56dae7f71a

View File

@ -308,9 +308,7 @@ RigGeoMechCaseData* RimGeoMechResultDefinition::ownerCaseData()
//--------------------------------------------------------------------------------------------------
bool RimGeoMechResultDefinition::hasResult()
{
RigFemResultAddress resAddr = this->resultAddress();
return (resAddr.isValid() && resAddr.fieldName != "None");
return ownerCaseData()->femPartResults()->assertResultsLoaded(this->resultAddress());
}