mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed issues when loading Odb-projects into ResInsight with no Odb support
This commit is contained in:
parent
4476e60816
commit
cb16f3c322
@ -114,7 +114,7 @@ void RivGeoMechVizLogic::scheduleGeometryRegen(RivCellSetEnum geometryType)
|
|||||||
this->scheduleRegenOfDirectlyDependentGeometry(geometryType);
|
this->scheduleRegenOfDirectlyDependentGeometry(geometryType);
|
||||||
|
|
||||||
int frameCount = 0;
|
int frameCount = 0;
|
||||||
if (m_geomechView->geoMechCase()->geoMechData())
|
if (m_geomechView->geoMechCase() && m_geomechView->geoMechCase()->geoMechData())
|
||||||
{
|
{
|
||||||
frameCount = m_geomechView->geoMechCase()->geoMechData()->femPartResults()->frameCount();
|
frameCount = m_geomechView->geoMechCase()->geoMechData()->femPartResults()->frameCount();
|
||||||
}
|
}
|
||||||
|
@ -785,7 +785,7 @@ bool RimViewController::isRangeFilterMappingApliccable()
|
|||||||
|
|
||||||
if (eclipseView && geomView)
|
if (eclipseView && geomView)
|
||||||
{
|
{
|
||||||
if (eclipseView->eclipseCase()->reservoirData() && geomView->geoMechCase()->geoMechData())
|
if (eclipseView->eclipseCase()->reservoirData() && geomView->geoMechCase() && geomView->geoMechCase()->geoMechData())
|
||||||
{
|
{
|
||||||
RigMainGrid* eclGrid = eclipseView->eclipseCase()->reservoirData()->mainGrid();
|
RigMainGrid* eclGrid = eclipseView->eclipseCase()->reservoirData()->mainGrid();
|
||||||
RigFemPart* femPart = geomView->geoMechCase()->geoMechData()->femParts()->part(0);
|
RigFemPart* femPart = geomView->geoMechCase()->geoMechData()->femParts()->part(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user