mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5125 Show well measurements based on selection in RimWellMeasuremenInView.
This commit is contained in:
@@ -278,7 +278,7 @@ void RivWellPathPartMgr::appendWellMeasurementsToModel( cvf::ModelBasicList*
|
||||
|
||||
for ( RimWellMeasurementInView* wellMeasurementInView : gridView->measurementCollection()->measurements() )
|
||||
{
|
||||
if ( wellMeasurementInView->isChecked() )
|
||||
if ( wellMeasurementInView->isChecked() && wellMeasurementInView->isWellChecked( m_rimWellPath->name() ) )
|
||||
{
|
||||
std::vector<QString> measurementKinds;
|
||||
measurementKinds.push_back( wellMeasurementInView->measurementKind() );
|
||||
|
||||
Reference in New Issue
Block a user