#4328 Stimulation wells in 3D-view: Render well head using pipe color

If well head is a real connection, render as normal connection. If dummy connection, render as pipe color
This commit is contained in:
Magne Sjaastad
2019-04-26 13:30:29 +02:00
parent 11e91f5d1c
commit 8ce9f63487
4 changed files with 32 additions and 16 deletions

View File

@@ -833,7 +833,7 @@ QString RiuResultTextBuilder::wellResultText()
}
const RigWellResultFrame& wellResultFrame = singleWellResultData->wellResultFrame(m_timeStepIndex);
const RigWellResultPoint* wellResultCell = wellResultFrame.findResultCell(m_gridIndex, m_cellIndex);
const RigWellResultPoint* wellResultCell = wellResultFrame.findResultCellWellHeadIncluded(m_gridIndex, m_cellIndex);
if (wellResultCell)
{
text += QString("-- Well-cell connection info --\n Well Name: %1\n Branch Id: %2\n Segment Id: %3\n").arg(singleWellResultData->m_wellName).arg(wellResultCell->m_ertBranchId).arg(wellResultCell->m_ertSegmentId);