Skip to content

Commit 5c0885c

Browse files
committed
Unpacks result form pm.skincluster to get the skincluster node instead of a list
1 parent f83078a commit 5c0885c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

release/scripts/mgear/rigbits/facial_rigger/lips_rigger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ def setName(name, side="C", idx=None):
784784

785785
skinCluster = skin.getSkinCluster(objName)
786786
if not skinCluster:
787-
skinCluster = pm.skinCluster(head_joint,
787+
[skinCluster] = pm.skinCluster(head_joint,
788788
geo,
789789
tsb=True,
790790
nw=2,

0 commit comments

Comments
 (0)