repo: janusweb
action: commit
revision: 
path_from: 
revision_from: e527d0b506d0bb8e1d0bdf46af8e9cd9be9cd284:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit e527d0b506d0bb8e1d0bdf46af8e9cd9be9cd284
Author: James Baicoianu 
Date:   Sun Oct 31 02:22:42 2021 -0700

    Don't set anim_id directly in getAnimationId()

diff --git a/scripts/janusplayer.js b/scripts/janusplayer.js
index 8f0780b37c2a79ed17101f8006bddb598c7adb4b..
index ..53133dee59399fc09d5955dcd51a9f19070f1751 100644
--- a/scripts/janusplayer.js
+++ b/scripts/janusplayer.js
@@ -670,9 +670,6 @@ elation.require(['engine.things.player', 'janusweb.external.JanusVOIP', 'ui.butt
       } else if (this.hasVoipData()) {
         animid = 'speak';
       }
-      if (this.ghost && this.ghost.body) {
-        this.ghost.body.anim_id = animid;
-      }
       return animid;
     }
     this.setHand = function(handedness, handobj) {

-----END OF PAGE-----