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:
parent
0a45354bd9
commit
44463f3a41
@ -121,7 +121,7 @@ void RicDeleteItemExec::redo()
|
||||
parentObj->firstAnchestorOrThisOfType(wellLogPlotTrack);
|
||||
if (wellLogPlotTrack)
|
||||
{
|
||||
wellLogPlotTrack->allignDepthZoomToPlotAndZoomAllX();
|
||||
wellLogPlotTrack->alignDepthZoomToPlotAndZoomAllX();
|
||||
}
|
||||
|
||||
RimWellLogPlotCollection* wellLogPlotCollection = NULL;
|
||||
|
@ -46,8 +46,8 @@ void RicWellLogPlotTrackFeatureImpl::moveCurvesToWellLogPlotTrack(RimWellLogPlot
|
||||
|
||||
wellLogPlotTrack->insertCurve(curves[cIdx], cIdx);
|
||||
}
|
||||
|
||||
wellLogPlotTrack->allignDepthZoomToPlotAndZoomAllX();
|
||||
wellLogPlotTrack->loadDataAndUpdate();
|
||||
wellLogPlotTrack->alignDepthZoomToPlotAndZoomAllX();
|
||||
wellLogPlotTrack->updateConnectedEditors();
|
||||
}
|
||||
|
||||
@ -59,7 +59,8 @@ void RicWellLogPlotTrackFeatureImpl::moveCurvesToWellLogPlotTrack(RimWellLogPlot
|
||||
CVF_ASSERT(wellLogPlotTrack && insertAfterCurve);
|
||||
|
||||
wellLogPlotTrack->moveCurves(insertAfterCurve, curves);
|
||||
wellLogPlotTrack->allignDepthZoomToPlotAndZoomAllX();
|
||||
wellLogPlotTrack->loadDataAndUpdate();
|
||||
wellLogPlotTrack->alignDepthZoomToPlotAndZoomAllX();
|
||||
wellLogPlotTrack->updateConnectedEditors();
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user