mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 12:53:03 +02:00
Slight fix for dancing bot script.
This commit is contained in:
parent
3af02a3327
commit
828bedc3e8
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ Script.update.connect(function(deltaTime) {
|
|||
if (!jointMapping) {
|
||||
var avatarJointNames = Avatar.jointNames;
|
||||
var animationJointNames = animation.jointNames;
|
||||
if (avatarJointNames === 0 || animationJointNames.length === 0) {
|
||||
if (avatarJointNames.length === 0 || animationJointNames.length === 0) {
|
||||
return;
|
||||
}
|
||||
jointMapping = new Array(avatarJointNames.length);
|
||||
|
|
Loading…
Reference in a new issue