mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
fixing edge case
This commit is contained in:
parent
c258e8c248
commit
a6eab29b14
1 changed files with 2 additions and 2 deletions
|
@ -409,7 +409,7 @@ Grabber.prototype.pressEvent = function(event) {
|
|||
var args = "mouse";
|
||||
Entities.callEntityMethod(this.entityID, "startDistanceGrab", args);
|
||||
|
||||
Messages.sendMessage('Hifi-Object-Manipulation', JSON.stringify({
|
||||
Messages.sendLocalMessage('Hifi-Object-Manipulation', JSON.stringify({
|
||||
action: 'grab',
|
||||
grabbedEntity: this.entityID
|
||||
}));
|
||||
|
@ -450,7 +450,7 @@ Grabber.prototype.releaseEvent = function(event) {
|
|||
var args = "mouse";
|
||||
Entities.callEntityMethod(this.entityID, "releaseGrab", args);
|
||||
|
||||
Messages.sendMessage('Hifi-Object-Manipulation', JSON.stringify({
|
||||
Messages.sendLocalMessage('Hifi-Object-Manipulation', JSON.stringify({
|
||||
action: 'release',
|
||||
grabbedEntity: this.entityID,
|
||||
joint: "mouse"
|
||||
|
|
Loading…
Reference in a new issue