mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:43:50 +02:00
Moved function to a differnt location that handles both mouse and controller inputs.
This commit is contained in:
parent
53f581c3d4
commit
c56450b986
2 changed files with 1 additions and 2 deletions
|
@ -943,8 +943,6 @@ function mouseClickEvent(event) {
|
|||
selectionManager.addEntity(foundEntity, true);
|
||||
}
|
||||
|
||||
entityIconOverlayManager.setIconsSelectable(selectionManager.selections,true);
|
||||
|
||||
if (wantDebug) {
|
||||
print("Model selected: " + foundEntity);
|
||||
}
|
||||
|
|
|
@ -4064,6 +4064,7 @@ SelectionDisplay = (function() {
|
|||
// if another mouse button than left is pressed ignore it
|
||||
return false;
|
||||
}
|
||||
entityIconOverlayManager.setIconsSelectable(selectionManager.selections,true);
|
||||
|
||||
var somethingClicked = false;
|
||||
var pickRay = generalComputePickRay(event.x, event.y);
|
||||
|
|
Loading…
Reference in a new issue