mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 06:18:52 +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/squeezeHands.js");
|
||||||
Script.load("system/controllers/grab.js");
|
Script.load("system/controllers/grab.js");
|
||||||
Script.load("system/dialTone.js");
|
Script.load("system/dialTone.js");
|
||||||
// Script.load("system/attachedEntitiesManager.js");
|
|
|
@ -86,10 +86,6 @@ function AttachedEntitiesManager() {
|
||||||
if (channel !== 'Hifi-Object-Manipulation') {
|
if (channel !== 'Hifi-Object-Manipulation') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// if (sender !== MyAvatar.sessionUUID) {
|
|
||||||
// print('wearablesManager got message from wrong sender');
|
|
||||||
// return;
|
|
||||||
// }
|
|
||||||
|
|
||||||
var parsedMessage = null;
|
var parsedMessage = null;
|
||||||
|
|
||||||
|
@ -116,11 +112,6 @@ function AttachedEntitiesManager() {
|
||||||
this.handleEntityRelease = function(grabbedEntity, releasedFromJoint) {
|
this.handleEntityRelease = function(grabbedEntity, releasedFromJoint) {
|
||||||
// if this is still equipped, just rewrite the position information.
|
// if this is still equipped, just rewrite the position information.
|
||||||
var grabData = getEntityCustomData('grabKey', grabbedEntity, {});
|
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;
|
var allowedJoints = getEntityCustomData('wearable', grabbedEntity, DEFAULT_WEARABLE_DATA).joints;
|
||||||
|
|
||||||
|
@ -221,17 +212,6 @@ function AttachedEntitiesManager() {
|
||||||
return false;
|
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() {
|
// this.saveAttachedEntities = function() {
|
||||||
// print("--- saving attached entities ---");
|
// print("--- saving attached entities ---");
|
||||||
// saveData = [];
|
// saveData = [];
|
||||||
|
|
Loading…
Reference in a new issue