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:
Jacob Støren
2018-08-21 15:05:49 +02:00
parent e10754cffb
commit 0e92c1d594
6 changed files with 65 additions and 63 deletions

View File

@@ -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)
{