mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Update openpype/hosts/maya/plugins/inventory/connect_geometry.py
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
This commit is contained in:
parent
658ad2a0c2
commit
67e438dcb9
1 changed files with 1 additions and 3 deletions
|
|
@ -89,9 +89,7 @@ class ConnectGeometry(InventoryAction):
|
|||
return
|
||||
|
||||
# Setup live worldspace blendshape connection.
|
||||
for match in matches:
|
||||
source = match[0]
|
||||
target = match[1]
|
||||
for source, target in matches:
|
||||
blendshape = cmds.blendShape(source, target)[0]
|
||||
cmds.setAttr(blendshape + ".origin", 0)
|
||||
cmds.setAttr(blendshape + "." + target.split(":")[-1], 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue