Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Maya: don't add reference members as connections to the container set 📦 #1855

Merged
merged 3 commits into from
Aug 17, 2021

Conversation

antirotor
Copy link
Member

@antirotor antirotor commented Jul 26, 2021

Fix

This is modifying reference loader behavior so it doesn't add all reference content as a connection to the container set. Those connections make scene much bigger and slower to load (and with heavy rig to the point of unusability). For more details see #1854

⚠️ this is affecting every point in workflow where references are used

Testing

When loading references, you should see only reference node (*_RN) under AVALON_CONTAINERS/your_subset. To see AVALON_CONTAINERS in Maya, check Ignore 'hidden in Outliner' in Outliner options:

image

Close #1854

@antirotor antirotor added type: bug Something isn't working host: Maya sponsored Client endorsed or requested MEDIUM labels Jul 26, 2021
@antirotor antirotor self-assigned this Jul 26, 2021
Copy link
Member

@mkolar mkolar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tried checking as much as I could think of including some nested referencing and it seems to work quite well apart from one thing, and I'm not sure if it's related. With this PR, I can only get assets into look manager from selection, but get all assets doesn't work.

@antirotor
Copy link
Member Author

I've tried checking as much as I could think of including some nested referencing and it seems to work quite well apart from one thing, and I'm not sure if it's related. With this PR, I can only get assets into look manager from selection, but get all assets doesn't work.

hmm, that happens to me too. It is probably related to the way how content of _CON sets is used to determine assets loaded in the scene and because now it is only that reference node, it is broken.

@antirotor antirotor requested a review from mkolar August 17, 2021 14:27
@mkolar mkolar merged commit 53bafa3 into develop Aug 17, 2021
@mkolar mkolar deleted the bugfix/maya-minimize-ref-connections branch August 17, 2021 15:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
host: Maya sponsored Client endorsed or requested type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maya: loading references and speed 💨
2 participants