#2298 Fracture. Fix build error

This commit is contained in:
Bjørn Erik Jensen 2018-01-02 11:38:59 +01:00
parent 70a3df3b3c
commit fb0880aadb

View File

@ -205,6 +205,8 @@ void RimLegendConfig::fieldChangedByUi(const caf::PdmFieldHandle* changedField,
view->updateCurrentTimeStepAndRedraw();
}
#ifdef USE_PROTOTYPE_FEATURE_FRACTURES
// Update stim plan templates if relevant
RimStimPlanColors* stimPlanColors;
firstAncestorOrThisOfType(stimPlanColors);
@ -212,7 +214,7 @@ void RimLegendConfig::fieldChangedByUi(const caf::PdmFieldHandle* changedField,
{
stimPlanColors->updateStimPlanTemplates();
}
#endif // USE_PROTOTYPE_FEATURE_FRACTURES
}
//--------------------------------------------------------------------------------------------------