mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Also a renamed typo allign -> align
This commit is contained in:
@@ -252,20 +252,15 @@ void RimWellLogPlotCurve::updateTrackAndPlotFromCurveData()
|
||||
firstAnchestorOrThisOfType(wellLogPlot);
|
||||
if (wellLogPlot)
|
||||
{
|
||||
bool setDepthRange = !wellLogPlot->hasAvailableDepthRange();
|
||||
wellLogPlot->calculateAvailableDepthRange();
|
||||
|
||||
if (setDepthRange)
|
||||
{
|
||||
wellLogPlot->zoomAllDepth();
|
||||
}
|
||||
wellLogPlot->zoomAllDepth();
|
||||
}
|
||||
|
||||
RimWellLogPlotTrack* plotTrack;
|
||||
firstAnchestorOrThisOfType(plotTrack);
|
||||
if (plotTrack)
|
||||
{
|
||||
plotTrack->allignDepthZoomToPlotAndZoomAllX();
|
||||
plotTrack->alignDepthZoomToPlotAndZoomAllX();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -124,6 +124,7 @@ void RimWellLogPlotTrack::addCurve(RimWellLogPlotCurve* curve)
|
||||
void RimWellLogPlotTrack::insertCurve(RimWellLogPlotCurve* curve, size_t index)
|
||||
{
|
||||
curves.insert(index, curve);
|
||||
// Todo: Mark curve data to use either TVD or MD
|
||||
|
||||
if (m_wellLogTrackPlotWidget)
|
||||
{
|
||||
@@ -274,7 +275,7 @@ void RimWellLogPlotTrack::detachAllCurves()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellLogPlotTrack::allignDepthZoomToPlotAndZoomAllX()
|
||||
void RimWellLogPlotTrack::alignDepthZoomToPlotAndZoomAllX()
|
||||
{
|
||||
if (m_wellLogTrackPlotWidget)
|
||||
{
|
||||
|
||||
@@ -57,7 +57,7 @@ public:
|
||||
void loadDataAndUpdate();
|
||||
|
||||
bool availableDepthRange(double* minimumDepth, double* maximumDepth);
|
||||
void allignDepthZoomToPlotAndZoomAllX();
|
||||
void alignDepthZoomToPlotAndZoomAllX();
|
||||
|
||||
RiuWellLogTrackPlot* viewer();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user