mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2715 Add direct access to RigFemPartCollection from a GeoMechView
This commit is contained in:
@@ -371,7 +371,7 @@ cvf::ref<RivIntersectionHexGridInterface> RivIntersectionBoxPartMgr::createHexGr
|
||||
m_rimIntersectionBox->firstAncestorOrThisOfType(geoView);
|
||||
if (geoView)
|
||||
{
|
||||
RigFemPart* femPart = geoView->geoMechCase()->geoMechData()->femParts()->part(0);
|
||||
RigFemPart* femPart = geoView->femParts()->part(0);
|
||||
return new RivFemIntersectionGrid(femPart);
|
||||
}
|
||||
|
||||
|
||||
@@ -1021,7 +1021,7 @@ cvf::ref<RivIntersectionHexGridInterface> RivIntersectionPartMgr::createHexGridI
|
||||
m_rimCrossSection->firstAncestorOrThisOfType(geoView);
|
||||
if (geoView)
|
||||
{
|
||||
RigFemPart* femPart = geoView->geoMechCase()->geoMechData()->femParts()->part(0);
|
||||
RigFemPart* femPart = geoView->femParts()->part(0);
|
||||
return new RivFemIntersectionGrid(femPart);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user