#5885 3D viewer: Clear grid cell selection when clicking outside visual objects

This commit is contained in:
Magne Sjaastad 2020-05-22 14:37:21 +02:00
parent 718c1ac827
commit 8370bd901e

View File

@ -691,6 +691,10 @@ void RiuViewerCommands::handlePickAction( int winPosX, int winPosY, Qt::Keyboard
} }
} }
} }
else
{
Riu3dSelectionManager::instance()->deleteAllItems();
}
// Old pick handling. Todo: Encapsulate in pickEventHandlers // Old pick handling. Todo: Encapsulate in pickEventHandlers
{ {