Should identify left and right wing bones as left side and right side bones respectively.

master
TigerKat 4 years ago
parent 79a9fffceb
commit 1c4c2241dc

@ -124,9 +124,9 @@ for i in range(len(BONES_LIST)):
BONES_LOOKUP[BONES_LIST[i]] = i BONES_LOOKUP[BONES_LIST[i]] = i
BONES_LOOKUP[BONES_LIST[i].upper()] = i BONES_LOOKUP[BONES_LIST[i].upper()] = i
BONES_LOOKUP[BONES_LIST[i].lower()] = 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]) 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]) BONES_RIGHT.append(BONES_LIST[i])
for i in range(len(BONES_LIST)): for i in range(len(BONES_LIST)):
j = i j = i

Loading…
Cancel
Save