mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add missing ifdef macro for use of fracture template
This commit is contained in:
parent
bed95a105e
commit
0cee37ce86
@ -21,7 +21,9 @@
|
|||||||
|
|
||||||
#include "RimEclipseCase.h"
|
#include "RimEclipseCase.h"
|
||||||
#include "RimEclipseView.h"
|
#include "RimEclipseView.h"
|
||||||
|
#ifdef USE_PROTOTYPE_FEATURE_FRACTURES
|
||||||
#include "RimFractureTemplate.h"
|
#include "RimFractureTemplate.h"
|
||||||
|
#endif // USE_PROTOTYPE_FEATURE_FRACTURES
|
||||||
#include "RimGeoMechView.h"
|
#include "RimGeoMechView.h"
|
||||||
#include "RimIntersection.h"
|
#include "RimIntersection.h"
|
||||||
#include "RimIntersectionBox.h"
|
#include "RimIntersectionBox.h"
|
||||||
@ -163,10 +165,12 @@ bool RicCopyReferencesToClipboardFeature::isCopyOfObjectSupported(caf::PdmObject
|
|||||||
{
|
{
|
||||||
if (!wellAllocPlot && !rftPlot) return true;
|
if (!wellAllocPlot && !rftPlot) return true;
|
||||||
}
|
}
|
||||||
|
#ifdef USE_PROTOTYPE_FEATURE_FRACTURES
|
||||||
else if (dynamic_cast<RimFractureTemplate*>(pdmObject))
|
else if (dynamic_cast<RimFractureTemplate*>(pdmObject))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#endif // USE_PROTOTYPE_FEATURE_FRACTURES
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user