mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
#2331 GeoMech fixes for intersection view. Paste view and animation of synthetic cases.
This commit is contained in:
1 parent
287992df91
commit
c9d6d60931
2 files changed
+3
-1
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user