Skip to content

Commit

Permalink
Bugfix armature detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Avaer Kazmer committed Nov 20, 2019
1 parent e7be6ad commit eb611e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avatars.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ const _findFoot = (tailBones, left) => {
};
const _findArmature = bone => {
for (;; bone = bone.parent) {
if (!bone.isBone || !bone.parent) {
if (!bone.isBone) {
return bone;
}
}
Expand Down

0 comments on commit eb611e5

Please sign in to comment.