#3311 Remove seperate fracture and fishbone MSW export if it's not a Debug run.

This commit is contained in:
Gaute Lindkvist 2018-09-19 14:43:50 +02:00
parent e4a5eb2769
commit 5689b5790a

View File

@ -160,7 +160,7 @@ void RicExportFracturesWellSegmentsFeature::setupActionLook(QAction* actionToSet
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
bool RicExportFracturesWellSegmentsFeature::isCommandEnabled() bool RicExportFracturesWellSegmentsFeature::isCommandEnabled()
{ {
if (caf::SelectionManager::instance()->selectedItemAncestorOfType<RimWellPathFractureCollection>()) if (RiaApplication::enableDevelopmentFeatures() && caf::SelectionManager::instance()->selectedItemAncestorOfType<RimWellPathFractureCollection>())
{ {
return true; return true;
} }