mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2331 GeoMech fixes for intersection view. Paste view and animation of synthetic cases.
This commit is contained in:
parent
287992df91
commit
c9d6d60931
@ -31,6 +31,7 @@
|
||||
#include "cafSelectionManager.h"
|
||||
|
||||
#include <QAction>
|
||||
#include "Rim2dIntersectionViewCollection.h"
|
||||
|
||||
|
||||
CAF_CMD_SOURCE_INIT(RicPasteGeoMechViewsFeature, "RicPasteGeoMechViewsFeature");
|
||||
@ -98,6 +99,7 @@ void RicPasteGeoMechViewsFeature::onActionTriggered(bool isChecked)
|
||||
|
||||
rimReservoirView->loadDataAndUpdate();
|
||||
|
||||
geomCase->intersectionViewCollection()->syncFromExistingIntersections(false);
|
||||
geomCase->updateConnectedEditors();
|
||||
|
||||
lastViewCopy = rimReservoirView;
|
||||
|
@ -189,7 +189,7 @@ int Rim2dIntersectionView::timeStepCount()
|
||||
{
|
||||
if ( isTimeStepDependentDataVisible() )
|
||||
{
|
||||
return static_cast<int>( this->ownerCase()->timeStepDates().size());
|
||||
return static_cast<int>( this->ownerCase()->timeStepStrings().size());
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user