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