Histogram: Use new plot for "Create Grid Statistics in 3d view".

This commit is contained in:
Kristian Bendiksen committed 2025-07-04 16:57:41 +02:00
1 parent d6b79ae328
commit 11d85583dd
6 files changed
+46 -36

No files matched your search

@@ -162,7 +162,6 @@
#ifdef USE_QTCHARTS
#include "RimEnsembleFractureStatisticsPlotCollection.h"
#include "RimGridStatisticsPlotCollection.h"
#endif
#include "RiuMainWindow.h"
@@ -658,10 +657,6 @@ caf::CmdFeatureMenuBuilder RimContextCommandBuilder::commandsFromSelection()
menuBuilder << "RicCreateSaturationPressurePlotsFeature";
}
#ifdef USE_QTCHARTS
else if ( dynamic_cast<RimGridStatisticsPlotCollection*>( firstUiItem ) )
{
menuBuilder << "RicCreateGridStatisticsPlotFeature";
}
else if ( dynamic_cast<RimEnsembleFractureStatisticsPlotCollection*>( firstUiItem ) )
{
menuBuilder << "RicCreateEnsembleFractureStatisticsPlotFeature";
@@ -871,9 +866,7 @@ caf::CmdFeatureMenuBuilder RimContextCommandBuilder::commandsFromSelection()
}
else if ( dynamic_cast<Rim3dOverlayInfoConfig*>( firstUiItem ) )
{
#ifdef USE_QTCHARTS
menuBuilder << "RicCreateGridStatisticsPlotFeature";
#endif
menuBuilder << "RicShowGridStatisticsFeature";
}
else if ( dynamic_cast<RimValveTemplateCollection*>( firstUiItem ) )