mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Refactored RigActiveCellinfo to only have one set of information.
Fracture and Matrix separated information thus needs two such obejcts. There still needs to remove some out-commented code p4#: 20877
This commit is contained in:
@@ -540,13 +540,13 @@ void RIMainWindow::refreshAnimationActions()
|
||||
{
|
||||
enableAnimControls = true;
|
||||
|
||||
if (app->activeReservoirView()->gridCellResults())
|
||||
if (app->activeReservoirView()->currentGridCellResults())
|
||||
{
|
||||
if (app->activeReservoirView()->cellResult()->hasDynamicResult()
|
||||
|| app->activeReservoirView()->propertyFilterCollection()->hasActiveDynamicFilters()
|
||||
|| app->activeReservoirView()->wellCollection()->hasVisibleWellPipes())
|
||||
{
|
||||
QList<QDateTime> timeStepDates = app->activeReservoirView()->gridCellResults()->timeStepDates(0);
|
||||
QList<QDateTime> timeStepDates = app->activeReservoirView()->currentGridCellResults()->timeStepDates(0);
|
||||
bool showHoursAndMinutes = false;
|
||||
for (int i = 0; i < timeStepDates.size(); i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user