#2482 Add wellhead pipe piece to simulation wells.

This commit is contained in:
Jacob Støren
2018-02-28 17:18:48 +01:00
parent 6a33735479
commit 5087085635
6 changed files with 41 additions and 11 deletions

View File

@@ -88,7 +88,7 @@ void RivWellHeadPartMgr::buildWellHeadParts(size_t frameIndex)
cvf::Vec3d whEndPos;
cvf::Vec3d whStartPos;
{
well->wellHeadTopBottomPosition(frameIndex, &whEndPos, &whStartPos);
well->wellHeadTopBottomPosition(static_cast<int>(frameIndex), &whEndPos, &whStartPos);
cvf::ref<caf::DisplayCoordTransform> transForm = m_rimReservoirView->displayCoordTransform();
whEndPos = transForm->transformToDisplayCoord(whEndPos);