mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
Merge pull request #2972 from polac/19748
Fixing the BUG #19748: Sit.js doesn't handle overlays correctly.
This commit is contained in:
commit
2121648c7d
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ Controller.keyPressEvent.connect(keyPressEvent);
|
|||
Script.scriptEnding.connect(function() {
|
||||
|
||||
for (var i = 0; i < pose.length; i++){
|
||||
MyAvatar.clearJointData(pose[i][0]);
|
||||
MyAvatar.clearJointData(pose[i].joint);
|
||||
}
|
||||
|
||||
Overlays.deleteOverlay(sitDownButton);
|
||||
|
|
Loading…
Reference in a new issue