mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 07:57:30 +02:00
cleanups
This commit is contained in:
parent
d554eb8db9
commit
2ba686ed89
1 changed files with 0 additions and 9 deletions
|
@ -115,13 +115,6 @@ function MyController(hand, triggerAction) {
|
|||
|
||||
this.update = function() {
|
||||
|
||||
// XXX
|
||||
if (this.state != this.previousState) {
|
||||
print("state --> " + this.state);
|
||||
}
|
||||
this.previousState = this.state;
|
||||
// XXX
|
||||
|
||||
this.updateSmoothedTrigger();
|
||||
|
||||
switch (this.state) {
|
||||
|
@ -158,7 +151,6 @@ function MyController(hand, triggerAction) {
|
|||
|
||||
this.disableAvatarCollisions = function() {
|
||||
if (this.currentAvatarCollisionsMenu != false) {
|
||||
print("avatar collisions --> off");
|
||||
this.currentAvatarCollisionsMenu = false;
|
||||
Menu.setIsOptionChecked(AVATAR_COLLISIONS_MENU_ITEM, false);
|
||||
MyAvatar.updateMotionBehaviorFromMenu();
|
||||
|
@ -167,7 +159,6 @@ function MyController(hand, triggerAction) {
|
|||
|
||||
this.revertAvatarCollisions = function() {
|
||||
if (this.currentAvatarCollisionsMenu != this.initialAvatarCollisionsMenu) {
|
||||
print("avatar collisions --> revert");
|
||||
this.currentAvatarCollisionsMenu = this.initialAvatarCollisionsMenu;
|
||||
Menu.setIsOptionChecked(AVATAR_COLLISIONS_MENU_ITEM, this.initialAvatarCollisionsMenu);
|
||||
MyAvatar.updateMotionBehaviorFromMenu();
|
||||
|
|
Loading…
Reference in a new issue