mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Transformed static functions from ViewLinker to dynamic functions in RimView
This commit is contained in:
@@ -140,7 +140,7 @@ void RivGeoMechVizLogic::scheduleRegenOfDirectlyDependentGeometry(RivCellSetEnum
|
||||
std::vector<RivGeoMechPartMgrCache::Key> RivGeoMechVizLogic::keysToVisiblePartMgrs(int timeStepIndex)
|
||||
{
|
||||
std::vector<RivGeoMechPartMgrCache::Key> visiblePartMgrs;
|
||||
if (m_geomechView->controllingViewLink() && m_geomechView->controllingViewLink()->isVisibleCellsOveridden())
|
||||
if (m_geomechView->viewController() && m_geomechView->viewController()->isVisibleCellsOveridden())
|
||||
{
|
||||
visiblePartMgrs.push_back(RivGeoMechPartMgrCache::Key(OVERRIDDEN_CELL_VISIBILITY, -1));
|
||||
}
|
||||
@@ -216,7 +216,7 @@ RivGeoMechPartMgr* RivGeoMechVizLogic::getUpdatedPartMgr(RivGeoMechPartMgrCache:
|
||||
{
|
||||
RivFemElmVisibilityCalculator::computeOverriddenCellVisibility(elmVisibility.p(),
|
||||
caseData->femParts()->part(femPartIdx),
|
||||
m_geomechView->controllingViewLink());
|
||||
m_geomechView->viewController());
|
||||
}
|
||||
|
||||
else if (pMgrKey.geometryType() == ALL_CELLS)
|
||||
|
||||
Reference in New Issue
Block a user