mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2358 fracture. Fix linker errors by adding fracture support ifdefs
This commit is contained in:
parent
d34b3a7c74
commit
e98d969e62
@ -494,6 +494,7 @@ void RiuViewerCommands::handlePickAction(int winPosX, int winPosY, Qt::KeyboardM
|
||||
|
||||
if (rivObjectSourceInfo)
|
||||
{
|
||||
#ifdef USE_PROTOTYPE_FEATURE_FRACTURES
|
||||
RiuMainWindow::instance()->selectAsCurrentItem(rivObjectSourceInfo->object());
|
||||
|
||||
RimFracture* fracture = dynamic_cast<RimFracture*>(rivObjectSourceInfo->object());
|
||||
@ -520,6 +521,7 @@ void RiuViewerCommands::handlePickAction(int winPosX, int winPosY, Qt::KeyboardM
|
||||
// Display result info text
|
||||
RiuMainWindow::instance()->setResultInfo(resultInfoText);
|
||||
}
|
||||
#endif //USE_PROTOTYPE_FEATURE_FRACTURES
|
||||
}
|
||||
|
||||
if (rivSourceInfo)
|
||||
|
Loading…
Reference in New Issue
Block a user