mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
More work on setting default values when creating new well log plots
This commit is contained in:
@@ -760,7 +760,7 @@ void RimWellLogTrack::availableDepthRange( double* minimumDepth, double* maximum
|
||||
double minCurveDepth = HUGE_VAL;
|
||||
double maxCurveDepth = -HUGE_VAL;
|
||||
|
||||
if ( curve->isCurveVisible() && curve->yValueRange( &minCurveDepth, &maxCurveDepth ) )
|
||||
if ( curve->isCurveVisible() && curve->yValueRangeInQwt( &minCurveDepth, &maxCurveDepth ) )
|
||||
{
|
||||
if ( minCurveDepth < minDepth )
|
||||
{
|
||||
@@ -1175,7 +1175,7 @@ void RimWellLogTrack::calculateXZoomRange()
|
||||
if ( curve->isCurveVisible() )
|
||||
{
|
||||
visibleCurves++;
|
||||
if ( curve->xValueRange( &minCurveValue, &maxCurveValue ) )
|
||||
if ( curve->xValueRangeInData( &minCurveValue, &maxCurveValue ) )
|
||||
{
|
||||
if ( minCurveValue < minValue )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user