From 1c4c2241dcab9ef4f4df6eb0d8d4dd7c5ae85d6a Mon Sep 17 00:00:00 2001 From: TigerKat Date: Tue, 26 Jan 2021 22:57:31 +0930 Subject: [PATCH] Should identify left and right wing bones as left side and right side bones respectively. --- bones.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bones.py b/bones.py index f624903..7c5dbe0 100644 --- a/bones.py +++ b/bones.py @@ -124,9 +124,9 @@ for i in range(len(BONES_LIST)): BONES_LOOKUP[BONES_LIST[i]] = i BONES_LOOKUP[BONES_LIST[i].upper()] = i BONES_LOOKUP[BONES_LIST[i].lower()] = i - if BONES_LIST[i][-1] == "L": + if BONES_LIST[i][-1] == "L" or BONES_LIST[i].startswith("LWing"): BONES_LEFT.append(BONES_LIST[i]) - if BONES_LIST[i][-1] == "R": + if BONES_LIST[i][-1] == "R" or BONES_LIST[i].startswith("RWing"): BONES_RIGHT.append(BONES_LIST[i]) for i in range(len(BONES_LIST)): j = i