This commit is contained in:
Kayla 2023-09-18 21:52:17 +08:00
parent 5429616e1e
commit 7252acceb8
2 changed files with 2 additions and 2 deletions

View file

@ -4100,7 +4100,7 @@ def create_rig_animation_instance(
"""
if options is None:
options = {}
name = context["representation"]["name"]
name = context["representation"]["name"]
output = next((node for node in nodes if
node.endswith("out_SET")), None)
controls = next((node for node in nodes if

View file

@ -117,7 +117,7 @@ class ReferenceLoader(openpype.hosts.maya.api.plugin.ReferenceLoader):
family = context["representation"]["context"]["family"]
except ValueError:
family = "model"
print(f"family{family}")
project_name = context["project"]["name"]
# True by default to keep legacy behaviours
attach_to_root = options.get("attach_to_root", True)