mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Added missing test for ternary saturation result
This commit is contained in:
parent
b158c0da9d
commit
b958d01540
@ -530,7 +530,8 @@ void RimReservoirView::createDisplayModel()
|
|||||||
|
|
||||||
if (this->cellResult()->hasDynamicResult()
|
if (this->cellResult()->hasDynamicResult()
|
||||||
|| this->propertyFilterCollection()->hasActiveDynamicFilters()
|
|| this->propertyFilterCollection()->hasActiveDynamicFilters()
|
||||||
|| this->wellCollection->hasVisibleWellPipes())
|
|| this->wellCollection->hasVisibleWellPipes()
|
||||||
|
|| this->cellResult()->isTernarySaturationSelected())
|
||||||
{
|
{
|
||||||
CVF_ASSERT(currentGridCellResults());
|
CVF_ASSERT(currentGridCellResults());
|
||||||
|
|
||||||
|
@ -660,7 +660,8 @@ void RiuMainWindow::refreshAnimationActions()
|
|||||||
{
|
{
|
||||||
if (app->activeReservoirView()->cellResult()->hasDynamicResult()
|
if (app->activeReservoirView()->cellResult()->hasDynamicResult()
|
||||||
|| app->activeReservoirView()->propertyFilterCollection()->hasActiveDynamicFilters()
|
|| app->activeReservoirView()->propertyFilterCollection()->hasActiveDynamicFilters()
|
||||||
|| app->activeReservoirView()->wellCollection()->hasVisibleWellPipes())
|
|| app->activeReservoirView()->wellCollection()->hasVisibleWellPipes()
|
||||||
|
|| app->activeReservoirView()->cellResult()->isTernarySaturationSelected())
|
||||||
{
|
{
|
||||||
std::vector<QDateTime> timeStepDates = app->activeReservoirView()->currentGridCellResults()->cellResults()->timeStepDates(0);
|
std::vector<QDateTime> timeStepDates = app->activeReservoirView()->currentGridCellResults()->cellResults()->timeStepDates(0);
|
||||||
bool showHoursAndMinutes = false;
|
bool showHoursAndMinutes = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user