mirror of
https://github.com/lubosz/overte.git
synced 2025-04-08 07:22:43 +02:00
clear dead code
This commit is contained in:
parent
c545f53c75
commit
65e2cdbbf3
2 changed files with 0 additions and 21 deletions
|
@ -21,4 +21,3 @@ Script.load("system/controllers/handControllerPointer.js");
|
|||
Script.load("system/controllers/squeezeHands.js");
|
||||
Script.load("system/controllers/grab.js");
|
||||
Script.load("system/dialTone.js");
|
||||
// Script.load("system/attachedEntitiesManager.js");
|
|
@ -86,10 +86,6 @@ function AttachedEntitiesManager() {
|
|||
if (channel !== 'Hifi-Object-Manipulation') {
|
||||
return;
|
||||
}
|
||||
// if (sender !== MyAvatar.sessionUUID) {
|
||||
// print('wearablesManager got message from wrong sender');
|
||||
// return;
|
||||
// }
|
||||
|
||||
var parsedMessage = null;
|
||||
|
||||
|
@ -116,11 +112,6 @@ function AttachedEntitiesManager() {
|
|||
this.handleEntityRelease = function(grabbedEntity, releasedFromJoint) {
|
||||
// if this is still equipped, just rewrite the position information.
|
||||
var grabData = getEntityCustomData('grabKey', grabbedEntity, {});
|
||||
// if ("refCount" in grabData && grabData.refCount > 0) {
|
||||
// // for adjusting things in your other hand
|
||||
// manager.updateRelativeOffsets(grabbedEntity);
|
||||
// return;
|
||||
// }
|
||||
|
||||
var allowedJoints = getEntityCustomData('wearable', grabbedEntity, DEFAULT_WEARABLE_DATA).joints;
|
||||
|
||||
|
@ -221,17 +212,6 @@ function AttachedEntitiesManager() {
|
|||
return false;
|
||||
}
|
||||
|
||||
// this.toggleLocked = function() {
|
||||
// print("toggleLocked");
|
||||
// if (clothingLocked) {
|
||||
// clothingLocked = false;
|
||||
// toolBar.setImageURL(Script.resolvePath("assets/images/unlock.svg"), lockButton);
|
||||
// } else {
|
||||
// clothingLocked = true;
|
||||
// toolBar.setImageURL(Script.resolvePath("assets/images/lock.svg"), lockButton);
|
||||
// }
|
||||
// }
|
||||
|
||||
// this.saveAttachedEntities = function() {
|
||||
// print("--- saving attached entities ---");
|
||||
// saveData = [];
|
||||
|
|
Loading…
Reference in a new issue