Skip to content

Commit

Permalink
Merge pull request #120 from BigRoy/bugfix/extract_layout_use_instanc…
Browse files Browse the repository at this point in the history
…e_node

Layout: Do not error on extraction with renamed instance node
  • Loading branch information
BigRoy authored Sep 25, 2024
2 parents e5c335b + 37dffd5 commit 3faf11e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/ayon_maya/plugins/publish/extract_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ def process(self, instance):
# TODO representation queries can be refactored to be faster
project_name = instance.context.data["projectName"]

for asset in cmds.sets(str(instance), query=True):
members = instance.data["setMembers"]
for asset in members:
# Find the container
project_container = self.project_container
container_list = cmds.ls(project_container)
Expand Down

0 comments on commit 3faf11e

Please sign in to comment.