#1044 - pre-proto - Added function for creating new sim well fracture, not yet setting correct i j k

This commit is contained in:
astridkbjorke
2017-01-03 09:34:31 +01:00
parent 4852de419f
commit b3bc0a9135
6 changed files with 99 additions and 5 deletions

View File

@@ -314,8 +314,15 @@ void RiuViewerCommands::displayContextMenu(QMouseEvent* event)
if (well)
{
caf::SelectionManager::instance()->setSelectedItem(well);
commandIds << "RicNewSimWellIntersectionFeature";
size_t i = 0;
size_t j = 0;
size_t k = 0;
RiuSelectionItem* selItem = new RiuSimWellSelectionItem(eclipseWellSourceInfo, i, j, k);
RiuSelectionManager::instance()->setSelectedItem(selItem, RiuSelectionManager::RUI_TEMPORARY);
commandIds << "RicNewSimWellFractureAtPosFeature";
}
}