mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Update joints list everytime I try to attach
This commit is contained in:
parent
17e3bd6110
commit
0b31971592
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue