mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Merge pull request #9048 from OPM/9047-performance-avoid-update-project
- Avoid update of project when creating new objects - Added icon resource cache - Avoid use of descendantsIncludingThisOfType()
This commit is contained in:
@@ -70,6 +70,7 @@ RimWellLogTrack* RimcWellLogPlot_newWellLogTrack::createWellLogTrack( RimWellLog
|
||||
RimWellLogTrack* plotTrack = RicNewWellLogPlotFeatureImpl::createWellLogPlotTrack( false, title, wellLogPlot );
|
||||
if ( eclipseCase ) plotTrack->setFormationCase( eclipseCase );
|
||||
if ( wellPath ) plotTrack->setFormationWellPath( wellPath );
|
||||
|
||||
plotTrack->setColSpan( RimPlot::TWO );
|
||||
plotTrack->setLegendsVisible( true );
|
||||
plotTrack->setPlotTitleVisible( true );
|
||||
@@ -78,12 +79,11 @@ RimWellLogTrack* RimcWellLogPlot_newWellLogTrack::createWellLogTrack( RimWellLog
|
||||
plotTrack->setShowRegionLabels( true );
|
||||
plotTrack->setAutoScalePropertyValuesEnabled( true );
|
||||
plotTrack->updateConnectedEditors();
|
||||
|
||||
wellLogPlot->setShowWindow( true );
|
||||
wellLogPlot->updateConnectedEditors();
|
||||
|
||||
RiaApplication::instance()->project()->updateConnectedEditors();
|
||||
|
||||
wellLogPlot->loadDataAndUpdate();
|
||||
|
||||
return plotTrack;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user