Update joints list everytime I try to attach

This commit is contained in:
Atlante45 2014-05-30 10:42:54 -07:00
parent 17e3bd6110
commit 0b31971592

View file

@ -157,9 +157,7 @@ function controller(wichSide) {
this.release = function () {
if (this.grabbing) {
if (jointList.length <= 0) {
jointList = MyAvatar.getJointNames();
}
var closestJointIndex = -1;
var closestJointDistance = 10;