(#396) Set visible depth range from all available data when there's only 1 trace with 1 curve

This commit is contained in:
Pål Hagen
2015-09-04 12:21:41 +02:00
parent dfdfdc3efc
commit 94095a16f0
3 changed files with 22 additions and 0 deletions

View File

@@ -277,6 +277,15 @@ void RimWellLogPlot::updateAxisRanges()
if (m_viewer) m_viewer->setDepthRange(m_minimumVisibleDepth, m_maximumVisibleDepth);
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellLogPlot::setVisibleDepthRangeFromContents()
{
setDepthRange(m_depthRangeMinimum, m_depthRangeMaximum);
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------