#2756 Remove pseudo length as depth type.

* That also means there's only option left for PLT-plots: Measured Depth, so may as well
   remove the drop down list from the UI.
This commit is contained in:
Gaute Lindkvist
2018-05-11 15:13:43 +02:00
parent 38540a0a39
commit 4ca9313366

View File

@@ -562,10 +562,9 @@ void RimWellLogPlot::uiOrderingForVisibleDepthRange(caf::PdmUiOrdering& uiOrderi
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
void RimWellLogPlot::uiOrderingForPlot(caf::PdmUiOrdering& uiOrdering) void RimWellLogPlot::uiOrderingForPlot(caf::PdmUiOrdering& uiOrdering)
{ {
RimWellRftPlot* rftp; RimWellRftPlot* rftp = rftPlot();
firstAncestorOrThisOfType(rftp);
if (!rftp) if (!(rftp || pltPlot()))
{ {
uiOrdering.add(&m_depthType); uiOrdering.add(&m_depthType);
} }
@@ -883,6 +882,7 @@ void RimWellLogPlot::updateDisabledDepthTypes()
else if (isPltPlotChild()) else if (isPltPlotChild())
{ {
m_disabledDepthTypes.insert(TRUE_VERTICAL_DEPTH); m_disabledDepthTypes.insert(TRUE_VERTICAL_DEPTH);
m_disabledDepthTypes.insert(PSEUDO_LENGTH);
m_disabledDepthTypes.insert(CONNECTION_NUMBER); m_disabledDepthTypes.insert(CONNECTION_NUMBER);
} }
else else