mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 16:23:39 +02:00
clean up
This commit is contained in:
parent
a319db3cb4
commit
e1c2c73e5f
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue