Fix issues related to well bore stability plots

* Check if data is present
* Move plot update to geomech case
* Return empty vector if no data is present
This commit is contained in:
Magne Sjaastad
2023-01-23 12:38:55 +01:00
committed by GitHub
parent 56dd33e762
commit ab165b0d72
3 changed files with 8 additions and 9 deletions

View File

@@ -924,6 +924,9 @@ void RimGeoMechCase::updateFormationNamesData()
rigCaseData->femPartResults()->setActiveFormationNames( nullptr );
}
RimWellLogPlotCollection* plotCollection = RimMainPlotCollection::current()->wellLogPlotCollection();
plotCollection->loadDataAndUpdateAllPlots();
std::vector<Rim3dView*> views = this->views();
for ( Rim3dView* view : views )
{