#1440 Use view as basis for appending dynamic parts

This commit is contained in:
Magne Sjaastad
2017-06-16 08:56:02 +02:00
parent e50f876cf0
commit 6cd0f0ebd2
5 changed files with 65 additions and 49 deletions
@@ -651,13 +651,7 @@ void RimEclipseView::updateCurrentTimeStep()
RigMainGrid* mainGrid = this->mainGrid();
if (mainGrid)
{
wellPathsPartManager()->appendDynamicGeometryPartsToModel(m_currentTimeStep,
wellPathModelBasicList.p(),
mainGrid->displayModelOffset(),
m_reservoirGridPartManager->scaleTransform(),
mainGrid->characteristicIJCellSize(),
currentActiveCellInfo()->geometryBoundingBox(),
this->displayCoordTransform().p());
wellPathsPartManager()->appendDynamicGeometryPartsToModel(this, wellPathModelBasicList.p());
wellPathModelBasicList->updateBoundingBoxesRecursive();