mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add fault reactivation modeling
This commit is contained in:
committed by
Kristian Bendiksen
parent
14c37c4b2c
commit
32326bfa9b
@@ -437,17 +437,21 @@ void RiuViewerCommands::displayContextMenu( QMouseEvent* event )
|
||||
menuBuilder.addSeparator();
|
||||
|
||||
QString faultName = fault->name();
|
||||
QVariantList hideFaultList;
|
||||
QVariantList faultDataList;
|
||||
qulonglong currentCellIndex = m_currentCellIndex;
|
||||
hideFaultList.push_back( currentCellIndex );
|
||||
hideFaultList.push_back( m_currentFaceIndex );
|
||||
faultDataList.push_back( currentCellIndex );
|
||||
faultDataList.push_back( m_currentFaceIndex );
|
||||
|
||||
menuBuilder.addCmdFeatureWithUserData( "RicEclipseHideFaultFeature", QString( "Hide " ) + faultName, hideFaultList );
|
||||
menuBuilder.addCmdFeatureWithUserData( "RicEclipseHideFaultFeature", QString( "Hide " ) + faultName, faultDataList );
|
||||
|
||||
menuBuilder.addCmdFeatureWithUserData( "RicEclipseShowOnlyFaultFeature",
|
||||
QString( "Show " ) + faultName + QString( " - Others Off" ),
|
||||
QVariant( fault->name() ) );
|
||||
|
||||
menuBuilder.addCmdFeatureWithUserData( "RicNewFaultReactModelingFeature",
|
||||
QString( "New Fault Re-activation Model" ),
|
||||
faultDataList );
|
||||
|
||||
menuBuilder.addSeparator();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user