Merge pull request #12870 from druiz17/fix-grab-js

fix grab.js unable to grab other entities
This commit is contained in:
John Conklin II 2018-04-13 12:17:46 -07:00 committed by GitHub
commit 08ca30cf43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -444,6 +444,7 @@ Grabber.prototype.releaseEvent = function(event) {
this.actionID = null;
Pointers.setRenderState(this.mouseRayEntities, "");
Pointers.setLockEndUUID(this.mouseRayEntities, null, false);
var args = "mouse";
Entities.callEntityMethod(this.entityID, "releaseGrab", args);