This commit is contained in:
Dante Ruiz 2017-01-20 01:04:14 +00:00
parent a319db3cb4
commit e1c2c73e5f

View file

@ -125,7 +125,6 @@ WebTablet = function (url, width, dpi, hand, clientOnly) {
parentID: this.tabletEntityID,
parentJointIndex: -1
});
//setEntityCustomData('grabbableKey', this.homeButtonEntity, {wantsTrigger: true});
this.receive = function (channel, senderID, senderUUID, localOnly) {
if (_this.homeButtonEntity === parseInt(senderID)) {
@ -167,7 +166,7 @@ WebTablet.prototype.getOverlayObject = function () {
WebTablet.prototype.destroy = function () {
Overlays.deleteOverlay(this.webOverlayID);
Entities.deleteEntity(this.tabletEntityID);
//Entities.deleteEntity(this.homeButtonEntity);
Overlays.deleteEntity(this.homeButtonEntity);
HMD.displayModeChanged.disconnect(this.myOnHmdChanged);
};