mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix some minor issues (#8043)
* #8016 Surface Ensemble : Update 2d intersection views * Ensemble WLP : Make code more robust to missing data * Janitor: Do not add files to recently used list when importing ensemble * #8016 Ensemble WLP : Delete all temporary plots in one go * #8016 WLP: Create a default date string that can be exported to LAS * #8016 Janitor: Use *.dev as default well path extension
This commit is contained in:
@@ -21,6 +21,9 @@
|
||||
#include "RiaColorTables.h"
|
||||
#include "RiaLogging.h"
|
||||
|
||||
#include "Rim2dIntersectionView.h"
|
||||
#include "Rim2dIntersectionViewCollection.h"
|
||||
#include "RimCase.h"
|
||||
#include "RimEnsembleSurface.h"
|
||||
#include "RimFileSurface.h"
|
||||
#include "RimGridCaseSurface.h"
|
||||
@@ -333,6 +336,15 @@ void RimSurfaceCollection::updateViews( const std::vector<RimSurface*>& surfsToR
|
||||
for ( auto view : viewsNeedingUpdate )
|
||||
{
|
||||
view->scheduleCreateDisplayModelAndRedraw();
|
||||
|
||||
if ( view->ownerCase() )
|
||||
{
|
||||
auto views = view->ownerCase()->intersectionViewCollection()->views();
|
||||
for ( Rim2dIntersectionView* view : views )
|
||||
{
|
||||
view->scheduleCreateDisplayModelAndRedraw();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user