mirror of
https://github.com/JulianGro/overte.git
synced 2025-08-04 08:04:57 +02:00
change to not left button
This commit is contained in:
parent
78436ebcbf
commit
8d49d1c118
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() || event.isRightButton) { // 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