mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 00:56:17 +02: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