mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3068 Perforation Interval : Make sure a new perforation interval always is visible
This commit is contained in:
parent
508f33903f
commit
01ba1dfa4f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user