(#691) Added option to keep the depth range fixed

This commit is contained in:
Magne Sjaastad
2015-12-07 12:03:33 +01:00
parent dc6a50ec3c
commit 5eb38fe203
8 changed files with 39 additions and 15 deletions

View File

@@ -92,7 +92,7 @@ void RimWellLogTrack::fieldChangedByUi(const caf::PdmFieldHandle* changedField,
if (wellLogPlot)
{
wellLogPlot->calculateAvailableDepthRange();
wellLogPlot->zoomAllDepth();
wellLogPlot->updateDepthZoom();
if (wellLogPlot->viewer()) wellLogPlot->viewer()->updateChildrenLayout();
}
}
@@ -268,7 +268,7 @@ void RimWellLogTrack::zoomAllXAndZoomAllDepthOnOwnerPlot()
firstAnchestorOrThisOfType(wellLogPlot);
if (wellLogPlot)
{
wellLogPlot->zoomAllDepth();
wellLogPlot->updateDepthZoom();
}
zoomAllXAxisIfAutoScale();