mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-17 19:28:47 +02:00
Merge pull request #13033 from dback2/desktopEquip
Desktop equip - ignore right clicks
This commit is contained in:
commit
729f3366ff
1 changed files with 1 additions and 1 deletions
|
@ -796,7 +796,7 @@ EquipHotspotBuddy.prototype.update = function(deltaTime, timestamp, controllerDa
|
||||||
};
|
};
|
||||||
|
|
||||||
var onMousePress = function(event) {
|
var onMousePress = function(event) {
|
||||||
if (isInEditMode()) { // don't consider any mouse clicks on the entity while in edit
|
if (isInEditMode() || !event.isLeftButton) { // don't consider any left clicks on the entity while in edit
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var pickRay = Camera.computePickRay(event.x, event.y);
|
var pickRay = Camera.computePickRay(event.x, event.y);
|
||||||
|
|
Loading…
Reference in a new issue