mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
ignore right clicks
This commit is contained in:
parent
9bf5549000
commit
0962e1fc16
1 changed files with 1 additions and 1 deletions
|
@ -796,7 +796,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