mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
ignore right clicks
This commit is contained in:
parent
ceabe9aed7
commit
db5e5ba99b
1 changed files with 1 additions and 1 deletions
|
@ -790,7 +790,7 @@ EquipHotspotBuddy.prototype.update = function(deltaTime, timestamp, controllerDa
|
|||
};
|
||||
|
||||
var onMousePress = function(event) {
|
||||
if (isInEditMode()) { // don't consider any mouse clicks on the entity while in edit
|
||||
if (isInEditMode() || event.isRightButton) { // don't consider any mouse clicks on the entity while in edit
|
||||
return;
|
||||
}
|
||||
var pickRay = Camera.computePickRay(event.x, event.y);
|
||||
|
|
Loading…
Reference in a new issue