#3068 Perforation Interval : Make sure a new perforation interval always is visible

This commit is contained in:
Magne Sjaastad 2018-06-20 11:43:54 +02:00
parent 508f33903f
commit 01ba1dfa4f

View File

@ -19,6 +19,8 @@
#include "RimPerforationCollection.h"
#include "RiaApplication.h"
#include "RimPerforationInterval.h"
#include "RimProject.h"
#include "Rim3dView.h"
@ -83,6 +85,12 @@ void RimPerforationCollection::appendPerforation(RimPerforationInterval* perfora
updateConnectedEditors();
Riu3DMainWindowTools::selectAsCurrentItem(perforation);
Rim3dView* activeView = RiaApplication::instance()->activeReservoirView();
if (activeView)
{
activeView->hasUserRequestedAnimation = true;
}
RimProject* proj;
this->firstAncestorOrThisOfTypeAsserted(proj);
proj->reloadCompletionTypeResultsInAllViews();