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 authored and GitHub committed 2023-01-23 12:38:55 +01:00
1 parent 56dd33e762
commit ab165b0d72
3 files changed
+8 -9

No files matched your search

@@ -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 )
{