mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-16 22:30:42 +02:00
change to not left button
This commit is contained in:
parent
0962e1fc16
commit
61afd12eeb
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() || 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;
|
||||
}
|
||||
var pickRay = Camera.computePickRay(event.x, event.y);
|
||||
|
|
Loading…
Reference in a new issue