mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1570 Ensure the legend is updated before adding well path parts to scene
This commit is contained in:
parent
10b7aa4e32
commit
454e2e1559
@ -446,6 +446,10 @@ void RimEclipseView::createDisplayModel()
|
||||
RigMainGrid* mainGrid = this->mainGrid();
|
||||
if (mainGrid)
|
||||
{
|
||||
// NB! StimPlan legend colors must be updated before well path geometry is added to the model
|
||||
// as the fracture geometry depends on the StimPlan legend colors
|
||||
stimPlanColors->updateLegendData();
|
||||
|
||||
addWellPathsToModel(m_wellPathPipeVizModel.p(),
|
||||
mainGrid->displayModelOffset(),
|
||||
mainGrid->characteristicIJCellSize(),
|
||||
|
Loading…
Reference in New Issue
Block a user