mirror of
https://github.com/lubosz/overte.git
synced 2025-04-08 01:22:08 +02:00
Fixed callEntityMethod arguments in grab.js
This commit is contained in:
parent
0a3ec92031
commit
b27e819d59
1 changed files with 2 additions and 2 deletions
|
@ -344,7 +344,7 @@ Grabber.prototype.pressEvent = function(event) {
|
|||
this.computeNewGrabPlane();
|
||||
this.moveEvent(event);
|
||||
|
||||
var args = "mouse";
|
||||
var args = ["mouse"];
|
||||
Entities.callEntityMethod(this.entityID, "startDistanceGrab", args);
|
||||
|
||||
Messages.sendLocalMessage('Hifi-Object-Manipulation', JSON.stringify({
|
||||
|
@ -378,7 +378,7 @@ Grabber.prototype.releaseEvent = function(event) {
|
|||
Pointers.setRenderState(this.mouseRayEntities, "");
|
||||
Pointers.setLockEndUUID(this.mouseRayEntities, null, false);
|
||||
|
||||
var args = "mouse";
|
||||
var args = ["mouse"];
|
||||
Entities.callEntityMethod(this.entityID, "releaseGrab", args);
|
||||
|
||||
Messages.sendLocalMessage('Hifi-Object-Manipulation', JSON.stringify({
|
||||
|
|
Loading…
Reference in a new issue