Fixing the BUG #19748: Sit.js doesn't handle overlays correctly.

This commit is contained in:
Mika Impola 2014-06-02 21:47:31 +03:00
parent a257af76dc
commit da3a272475

View file

@ -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);