mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 11:48:09 +02:00
Merge pull request #2958 from Atlante45/click_drag_attach
Update joints list everytime I try to attach
This commit is contained in:
commit
be9703d46f
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