mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:24:07 +02:00
fixing edge case
This commit is contained in:
parent
4793cddde6
commit
cffb008c31
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