Adjustments related to user course

* #10285 Grid Cross Plot: Fix group highlighting
* #9329 Make Show plot data more robust
* Do not show the curve color tag for grid cross plot curves
* #10310 Add tab to show plot data for well log curves
This commit is contained in:
Magne Sjaastad
2023-05-26 11:47:26 +02:00
committed by GitHub
parent b7420ebc70
commit cca852ef1f
6 changed files with 30 additions and 2 deletions

View File

@@ -369,6 +369,15 @@ void RicShowPlotDataFeature::getSelection( std::vector<RimPlotWindow*>& selectio
if ( selection.empty() )
{
caf::SelectionManager::instance()->objectsByType( &selection );
auto selectedObjects = caf::selectedObjectsByType<caf::PdmObject*>();
for ( auto obj : selectedObjects )
{
if ( !obj ) continue;
if ( auto plotWindow = obj->firstAncestorOrThisOfType<RimPlotWindow>() )
{
selection.push_back( plotWindow );
}
}
}
}