Merge pull request #2958 from Atlante45/click_drag_attach

Update joints list everytime I try to attach
This commit is contained in:
Andrzej Kapolka 2014-05-30 14:15:43 -07:00
commit be9703d46f

View file

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