mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-05 21:53:27 -06:00
parent
a4a6c30370
commit
b8f7490311
@ -310,6 +310,7 @@ void RimWellAllocationPlot::updateFromWell()
|
||||
? wfCalculator->trueVerticalDepth( brIdx )
|
||||
: std::vector<double>();
|
||||
|
||||
if ( !depthValues.empty() )
|
||||
{
|
||||
std::vector<QString> tracerNames = wfCalculator->tracerNames();
|
||||
for ( const QString& tracerName : tracerNames )
|
||||
|
@ -2351,6 +2351,8 @@ void RimWellLogTrack::updateStackedCurveData()
|
||||
for ( auto curve : stackedCurvesInGroup )
|
||||
{
|
||||
auto depths = curve->curveData()->depths( depthType );
|
||||
if ( depths.empty() ) continue;
|
||||
|
||||
if ( allDepthValues.empty() )
|
||||
{
|
||||
auto minmaxit = std::minmax_element( depths.begin(), depths.end() );
|
||||
|
Loading…
Reference in New Issue
Block a user