mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5885 3D viewer: Clear grid cell selection when clicking outside visual objects
This commit is contained in:
parent
718c1ac827
commit
8370bd901e
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user