mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
caf: Replace selection role with selectionLevel.
Use std::map for storage of the different selections Started to remove the SelectionRole Enum
This commit is contained in:
@@ -613,7 +613,7 @@ PdmUiSelectionVisualizer3d::~PdmUiSelectionVisualizer3d()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void PdmUiSelectionVisualizer3d::onSelectionManagerSelectionChanged(int selectionLevel)
|
||||
{
|
||||
if (selectionLevel != caf::SelectionManager::APPLICATION_GLOBAL) return;
|
||||
if (selectionLevel != 0) return;
|
||||
|
||||
for (auto editor: m_active3DEditors)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user